diff options
author | Eric Biggers <ebiggers@google.com> | 2018-12-05 07:20:02 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-12-13 11:24:57 +0100 |
commit | 4af78261870a7d36dd222af8dad9688b705e365e (patch) | |
tree | 6013fcbd4c774b15033d09b67dfa7320ec22bc3a /lib/test_static_key_base.c | |
parent | crypto: x86/nhpoly1305 - add AVX2 accelerated NHPoly1305 (diff) | |
download | linux-4af78261870a7d36dd222af8dad9688b705e365e.tar.xz linux-4af78261870a7d36dd222af8dad9688b705e365e.zip |
crypto: x86/chacha20 - add XChaCha20 support
Add an XChaCha20 implementation that is hooked up to the x86_64 SIMD
implementations of ChaCha20. This can be used by Adiantum.
An SSSE3 implementation of single-block HChaCha20 is also added so that
XChaCha20 can use it rather than the generic implementation. This
required refactoring the ChaCha permutation into its own function.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/test_static_key_base.c')
0 files changed, 0 insertions, 0 deletions