summaryrefslogtreecommitdiffstats
path: root/arch/arm/crypto/nhpoly1305-neon-glue.c
Commit message (Collapse)AuthorAgeFilesLines
* crypto: arm - convert to use crypto_simd_usable()Eric Biggers2019-03-221-1/+2
| | | | | | | | | Replace all calls to may_use_simd() in the arm crypto code with crypto_simd_usable(), in order to allow testing the no-SIMD code paths. 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>
* crypto: arm/nhpoly1305 - add NEON-accelerated NHPoly1305Eric Biggers2018-11-201-0/+77
Add an ARM NEON implementation of NHPoly1305, an ε-almost-∆-universal hash function used in the Adiantum encryption mode. For now, only the NH portion is actually NEON-accelerated; the Poly1305 part is less performance-critical so is just implemented in C. 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>