diff options
| author | Martin Willi <martin@strongswan.org> | 2015-06-01 13:43:56 +0200 |
|---|---|---|
| committer | TARKZiM <tom8476oo@gmail.com> | 2022-08-25 20:05:39 +0800 |
| commit | 24800b997c5b048040b2e963af3fb47d94ee9316 (patch) | |
| tree | e3bf475c5584d0f41c68c2e7126d142d2824b62a /net/lapb/lapb_timer.c | |
| parent | 9e779e1e2861f523633e53c2faa2ceb58426d9e9 (diff) | |
crypto: chacha20 - Add a generic ChaCha20 stream cipher implementation
ChaCha20 is a high speed 256-bit key size stream cipher algorithm designed by
Daniel J. Bernstein. It is further specified in RFC7539 for use in IETF
protocols as a building block for the ChaCha20-Poly1305 AEAD.
This is a portable C implementation without any architecture specific
optimizations. It uses a 16-byte IV, which includes the 12-byte ChaCha20 nonce
prepended by the initial block counter. Some algorithms require an explicit
counter value, for example the mentioned AEAD construction.
Signed-off-by: Martin Willi <martin@strongswan.org>
Acked-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions
