aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm64/crypto/aes-ctr-fallback.h (follow)
AgeCommit message (Collapse)AuthorFilesLines
2017-08-04crypto: arm64/aes-blk - add a non-SIMD fallback for synchronous CTRArd Biesheuvel1-0/+53
To accommodate systems that may disallow use of the NEON in kernel mode in some circumstances, introduce a C fallback for synchronous AES in CTR mode, and use it if may_use_simd() returns false. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>