]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
crypto: arm64/aes-blk - add a non-SIMD fallback for synchronous CTR
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Mon, 24 Jul 2017 10:28:13 +0000 (11:28 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Aug 2017 01:27:21 +0000 (09:27 +0800)
commite211506979e205e5a00b0a9d321fb3cbb44ee9ea
tree234859ed43fc55e8f187d155ccdd4efd9da0dd97
parent5092fcf3490811a735ef44bd22d8b5ff1bd63926
crypto: arm64/aes-blk - add a non-SIMD fallback for synchronous CTR

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>
arch/arm64/crypto/Kconfig
arch/arm64/crypto/aes-ctr-fallback.h [new file with mode: 0644]
arch/arm64/crypto/aes-glue.c