summaryrefslogtreecommitdiff
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorTianjia Zhang <tianjia.zhang@linux.alibaba.com>2022-01-07 20:06:57 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2022-01-28 16:51:10 +1100
commit114004696bf23499ca834e784d91bd82de195d76 (patch)
tree2f2325055b5d415df4472771ac9c2554fe2cd479 /crypto/Kconfig
parentf3a03d319dbdbb206530ebfce977c334ee2f8765 (diff)
downloadlinux-riscv-114004696bf23499ca834e784d91bd82de195d76.tar.gz
linux-riscv-114004696bf23499ca834e784d91bd82de195d76.tar.bz2
linux-riscv-114004696bf23499ca834e784d91bd82de195d76.zip
crypto: sm2 - make dependent on sm3 library
SM3 generic library is stand-alone implementation, it is necessary for the calculation of sm2 z digest to depends on SM3 library instead of sm3-generic. Signed-off-by: Tianjia Zhang <tianjia.zhang@linux.alibaba.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 442765219c37..833da41860b9 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -267,7 +267,7 @@ config CRYPTO_ECRDSA
config CRYPTO_SM2
tristate "SM2 algorithm"
- select CRYPTO_SM3
+ select CRYPTO_LIB_SM3
select CRYPTO_AKCIPHER
select CRYPTO_MANAGER
select MPILIB