summaryrefslogtreecommitdiff
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-06-11 08:55:10 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-06-11 21:55:28 +0800
commitb6a0750d6e2d827643ca7484db52bbf1ec6fcbc4 (patch)
tree1e0cb29d85aaf95c60c549ddddddd36eff7d988c /crypto/Kconfig
parent0fe3c4b1086bcf5d031ea4ba6aacec8bb800e80d (diff)
downloadlinux-crypto-b6a0750d6e2d827643ca7484db52bbf1ec6fcbc4.tar.gz
linux-crypto-b6a0750d6e2d827643ca7484db52bbf1ec6fcbc4.zip
crypto: drbg - Add select on sha256
The hash-based DRBG variants all use sha256 so we need to add a select on it. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig3
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index cb7806f3..f6fc054e 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1508,10 +1508,11 @@ config CRYPTO_DRBG_HMAC
bool
default y
select CRYPTO_HMAC
+ select CRYPTO_SHA256
config CRYPTO_DRBG_HASH
bool "Enable Hash DRBG"
- select CRYPTO_HASH
+ select CRYPTO_SHA256
help
Enable the Hash DRBG variant as defined in NIST SP800-90A.