diff options
author | Tianjia Zhang <tianjia.zhang@linux.alibaba.com> | 2022-01-07 20:06:58 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2022-01-28 16:51:11 +1100 |
commit | 7e325ee4053303fe87338fd7ee34b07dd76b136a (patch) | |
tree | 2d69967bac11752f338f202d46b36582aa4ead57 /crypto/Kconfig | |
parent | 85e84a1ee1ed5f0501d8ad77d03cbbad26879192 (diff) | |
download | linux-crypto-7e325ee4053303fe87338fd7ee34b07dd76b136a.tar.gz linux-crypto-7e325ee4053303fe87338fd7ee34b07dd76b136a.zip |
crypto: sm3 - make dependent on sm3 library
SM3 generic library is stand-alone implementation, it is necessary
making the sm3-generic implementation to depends on SM3 library.
The functions crypto_sm3_*() provided by sm3_generic is no longer
exported.
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/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index 833da418..b0717419 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -999,6 +999,7 @@ config CRYPTO_SHA3 config CRYPTO_SM3 tristate "SM3 digest algorithm" select CRYPTO_HASH + select CRYPTO_LIB_SM3 help SM3 secure hash function as defined by OSCCA GM/T 0004-2012 SM3). It is part of the Chinese Commercial Cryptography suite. |