diff options
author | Eric Biggers <ebiggers@google.com> | 2018-12-04 04:52:50 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2018-12-13 11:24:36 +0100 |
commit | cc7cf991e9eb54cac7733dc7d8f3a8591ba6e1c3 (patch) | |
tree | 3b58c06a4ca5cfa2fcf54bea09c62b577748772e /arch/unicore32 | |
parent | crypto: arm64/nhpoly1305 - add NEON-accelerated NHPoly1305 (diff) | |
download | linux-cc7cf991e9eb54cac7733dc7d8f3a8591ba6e1c3.tar.xz linux-cc7cf991e9eb54cac7733dc7d8f3a8591ba6e1c3.zip |
crypto: arm64/chacha20 - add XChaCha20 support
Add an XChaCha20 implementation that is hooked up to the ARM64 NEON
implementation of ChaCha20. This can be used by Adiantum.
A NEON implementation of single-block HChaCha20 is also added so that
XChaCha20 can use it rather than the generic implementation. This
required refactoring the ChaCha20 permutation into its own function.
Signed-off-by: Eric Biggers <ebiggers@google.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/unicore32')
0 files changed, 0 insertions, 0 deletions