diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-11 08:55:10 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-06-11 21:55:28 +0800 |
commit | 826775bbf38fb7fbc8896482d341dc38cf84c811 (patch) | |
tree | da2cfae5060e4c1d3548185846def9c17e50f03a /crypto/Kconfig | |
parent | 593dfbd9ca7d8d6f9a01020426b680b78b86bdb2 (diff) | |
download | linux-stable-826775bbf38fb7fbc8896482d341dc38cf84c811.tar.gz linux-stable-826775bbf38fb7fbc8896482d341dc38cf84c811.tar.bz2 linux-stable-826775bbf38fb7fbc8896482d341dc38cf84c811.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/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index cb7806f31c37..f6fc054eb2d1 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. |