summaryrefslogtreecommitdiffstats
path: root/arch/arm64/crypto/Kconfig
diff options
context:
space:
mode:
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>2021-07-20 11:46:40 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2021-07-30 10:58:30 +0800
commitc59de48e125c6d49a8abd165e388ca57bfe37b17 (patch)
tree695961559dbb5ca3a03360d580da98a9492564d3 /arch/arm64/crypto/Kconfig
parent2b31277af577b1b2da62c3ad7d3315b422869102 (diff)
downloadlinux-stable-c59de48e125c6d49a8abd165e388ca57bfe37b17.tar.gz
linux-stable-c59de48e125c6d49a8abd165e388ca57bfe37b17.tar.bz2
linux-stable-c59de48e125c6d49a8abd165e388ca57bfe37b17.zip
crypto: arm64/sm4-ce - Make dependent on sm4 library instead of sm4-generic
SM4 library is abstracted from sm4-generic algorithm, sm4-ce can depend on the SM4 library instead of sm4-generic, and some functions in sm4-generic do not need to be exported. Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/arm64/crypto/Kconfig')
-rw-r--r--arch/arm64/crypto/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/crypto/Kconfig b/arch/arm64/crypto/Kconfig
index b8eb0453123d..55f19450091b 100644
--- a/arch/arm64/crypto/Kconfig
+++ b/arch/arm64/crypto/Kconfig
@@ -51,7 +51,7 @@ config CRYPTO_SM4_ARM64_CE
tristate "SM4 symmetric cipher (ARMv8.2 Crypto Extensions)"
depends on KERNEL_MODE_NEON
select CRYPTO_ALGAPI
- select CRYPTO_SM4
+ select CRYPTO_LIB_SM4
config CRYPTO_GHASH_ARM64_CE
tristate "GHASH/AES-GCM using ARMv8 Crypto Extensions"