Commit b82d74de authored by Qian Cai's avatar Qian Cai Committed by Zheng Zengkai
Browse files

crypto: arm64/gcm - Select AEAD for GHASH_ARM64_CE

stable inclusion
from stable-v5.10.137
commit 64b1e3f90491177c81f86bed92f2053f29e41113
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I60PLB

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=64b1e3f90491177c81f86bed92f2053f29e41113



--------------------------------

[ Upstream commit fac76f22 ]

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: 537c1445 ("crypto: arm64/gcm - implement native driver using v8 Crypto Extensions")
Signed-off-by: default avatarQian Cai <quic_qiancai@quicinc.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
Reviewed-by: default avatarWei Li <liwei391@huawei.com>
parent af03f867
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment