summaryrefslogtreecommitdiffstats
path: root/arch/arm64/crypto/Kconfig
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2019-07-02 21:41:28 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2019-07-26 14:56:04 +1000
commitfe3b99b64909e8994f2606120e4703c9a1e8c080 (patch)
treed87362a60295f6ff7e647979c2ad57875caf892c /arch/arm64/crypto/Kconfig
parent363a90c2d517e69776dcf71cc3d6fcaee9fef868 (diff)
downloadblackbird-op-linux-fe3b99b64909e8994f2606120e4703c9a1e8c080.tar.gz
blackbird-op-linux-fe3b99b64909e8994f2606120e4703c9a1e8c080.zip
crypto: arm64/ghash - switch to AES library
The GHASH code uses the generic AES key expansion routines, and calls directly into the scalar table based AES cipher for arm64 from the fallback path, and since this implementation is known to be non-time invariant, doing so from a time invariant SIMD cipher is a bit nasty. So let's switch to the AES library - this makes the code more robust, and drops the dependency on the generic AES cipher, allowing us to omit it entirely in the future. Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm64/crypto/Kconfig')
-rw-r--r--arch/arm64/crypto/Kconfig3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm64/crypto/Kconfig b/arch/arm64/crypto/Kconfig
index d9a523ecdd83..1762055e7093 100644
--- a/arch/arm64/crypto/Kconfig
+++ b/arch/arm64/crypto/Kconfig
@@ -58,8 +58,7 @@ config CRYPTO_GHASH_ARM64_CE
depends on KERNEL_MODE_NEON
select CRYPTO_HASH
select CRYPTO_GF128MUL
- select CRYPTO_AES
- select CRYPTO_AES_ARM64
+ select CRYPTO_LIB_AES
config CRYPTO_CRCT10DIF_ARM64_CE
tristate "CRCT10DIF digest algorithm using PMULL instructions"
OpenPOWER on IntegriCloud