diff options
| author | Eric Biggers <[email protected]> | 2018-11-16 17:26:24 -0800 |
|---|---|---|
| committer | Herbert Xu <[email protected]> | 2018-11-20 14:26:56 +0800 |
| commit | d97a94309d764ed907d4281da6246f5d935166f8 (patch) | |
| tree | 6b17f507f905fc8240c49bac6b54c508aef6c79b /lib/mpi/mpi-bit.c | |
| parent | be2830b15b60011845ad701076511e8b93b2fd76 (diff) | |
crypto: arm/chacha20 - add XChaCha20 support
Add an XChaCha20 implementation that is hooked up to the ARM NEON
implementation of ChaCha20. This is needed for use in the Adiantum
encryption mode; see the generic code patch,
"crypto: chacha20-generic - add XChaCha20 support", for more details.
We also update the NEON code to support HChaCha20 on one block, so we
can use that in XChaCha20 rather than calling the generic HChaCha20.
This required factoring the permutation out into its own macro.
Reviewed-by: Ard Biesheuvel <[email protected]>
Signed-off-by: Eric Biggers <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-bit.c')
0 files changed, 0 insertions, 0 deletions