diff options
author | Stephan Mueller <smueller@chronox.de> | 2021-06-30 12:32:52 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2021-07-16 15:49:31 +0800 |
commit | d301adefbfcd1438dd74ee1e850284c65097a4ad (patch) | |
tree | 89181e03c753aab0787ecbd57ad25aefd82e74b7 | |
parent | aa135740ac9008e71294cd1b292a169d7c7030ed (diff) | |
download | linux-crypto-d301adefbfcd1438dd74ee1e850284c65097a4ad.tar.gz linux-crypto-d301adefbfcd1438dd74ee1e850284c65097a4ad.zip |
crypto: drbg - select SHA512
With the swtich to use HMAC(SHA-512) as the default DRBG type, the
configuration must now also select SHA-512.
Fixes: e866d9bcddb3 "crypto: DRBG - switch to HMAC SHA512 DRBG as default
DRBG"
Reported-by: Sachin Sant <sachinp@linux.vnet.ibm.com>
Signed-off-by: Stephan Mueller <smueller@chronox.com>
Tested-by: Sachin Sant <sachinp@linux.vnet.ibm.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r-- | crypto/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig index ca3b02dc..64b772c5 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -1768,7 +1768,7 @@ config CRYPTO_DRBG_HMAC bool default y select CRYPTO_HMAC - select CRYPTO_SHA256 + select CRYPTO_SHA512 config CRYPTO_DRBG_HASH bool "Enable Hash DRBG" |