aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-bit.c
diff options
context:
space:
mode:
authorEric Biggers <[email protected]>2018-12-03 19:52:50 -0800
committerHerbert Xu <[email protected]>2018-12-13 18:24:36 +0800
commitcc7cf991e9eb54cac7733dc7d8f3a8591ba6e1c3 (patch)
tree3b58c06a4ca5cfa2fcf54bea09c62b577748772e /lib/mpi/mpi-bit.c
parenta00fa0c88774bea9a102fc616598d9ee52765451 (diff)
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 <[email protected]> Reviewed-by: Ard Biesheuvel <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions