diff options
author | Eric Biggers <ebiggers@google.com> | 2018-12-04 22:20:02 -0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-12-13 18:24:57 +0800 |
commit | 8c91927b59580f4185c261fe2246be4b367d2ba1 (patch) | |
tree | 95a22d552f051f2d122620732b6caa4626cbb795 /crypto/algif_aead.c | |
parent | 65c45c8b7ece659bbb8cae619bc6965fb7417eae (diff) | |
download | linux-crypto-8c91927b59580f4185c261fe2246be4b367d2ba1.tar.gz linux-crypto-8c91927b59580f4185c261fe2246be4b367d2ba1.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 'crypto/algif_aead.c')
0 files changed, 0 insertions, 0 deletions