summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorQian Cai <quic_qiancai@quicinc.com>2022-06-24 07:13:38 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2022-06-30 15:56:58 +0800
commitfac76f2260893dde5aa05bb693b4c13e8ed0454b (patch)
treea8d8ea0cf9cc586060b40721cc3e37ae0f3670d3
parent0bb8f125253843c445b70fc6ef4fb21aa7b25625 (diff)
downloadlinux-stable-fac76f2260893dde5aa05bb693b4c13e8ed0454b.tar.gz
linux-stable-fac76f2260893dde5aa05bb693b4c13e8ed0454b.tar.bz2
linux-stable-fac76f2260893dde5aa05bb693b4c13e8ed0454b.zip
crypto: arm64/gcm - Select AEAD for GHASH_ARM64_CE
Otherwise, we could fail to compile. ld: arch/arm64/crypto/ghash-ce-glue.o: in function 'ghash_ce_mod_exit': ghash-ce-glue.c:(.exit.text+0x24): undefined reference to 'crypto_unregister_aead' ld: arch/arm64/crypto/ghash-ce-glue.o: in function 'ghash_ce_mod_init': ghash-ce-glue.c:(.init.text+0x34): undefined reference to 'crypto_register_aead' Fixes: 537c1445ab0b ("crypto: arm64/gcm - implement native driver using v8 Crypto Extensions") Signed-off-by: Qian Cai <quic_qiancai@quicinc.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--arch/arm64/crypto/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/crypto/Kconfig b/arch/arm64/crypto/Kconfig
index 4391a463abd7..60db5bb2ddda 100644
--- a/arch/arm64/crypto/Kconfig
+++ b/arch/arm64/crypto/Kconfig
@@ -71,6 +71,7 @@ config CRYPTO_GHASH_ARM64_CE
select CRYPTO_HASH
select CRYPTO_GF128MUL
select CRYPTO_LIB_AES
+ select CRYPTO_AEAD
config CRYPTO_POLYVAL_ARM64_CE
tristate "POLYVAL using ARMv8 Crypto Extensions (for HCTR2)"