Skip to content

Commit fac76f2

Browse files
Qian Caiherbertx
authored andcommitted
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: 537c144 ("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>
1 parent 0bb8f12 commit fac76f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

arch/arm64/crypto/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ config CRYPTO_GHASH_ARM64_CE
7171
select CRYPTO_HASH
7272
select CRYPTO_GF128MUL
7373
select CRYPTO_LIB_AES
74+
select CRYPTO_AEAD
7475

7576
config CRYPTO_POLYVAL_ARM64_CE
7677
tristate "POLYVAL using ARMv8 Crypto Extensions (for HCTR2)"

0 commit comments

Comments
 (0)