Commit 5261cdf4 authored by Stephan Mueller's avatar Stephan Mueller Committed by Herbert Xu

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: 9b7b9468 "crypto: DRBG - switch to HMAC SHA512 DRBG as default
DRBG"
Reported-by: default avatarSachin Sant <sachinp@linux.vnet.ibm.com>
Signed-off-by: default avatarStephan Mueller <smueller@chronox.com>
Tested-by: default avatarSachin Sant <sachinp@linux.vnet.ibm.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent e73f0f0e
...@@ -1768,7 +1768,7 @@ config CRYPTO_DRBG_HMAC ...@@ -1768,7 +1768,7 @@ config CRYPTO_DRBG_HMAC
bool bool
default y default y
select CRYPTO_HMAC select CRYPTO_HMAC
select CRYPTO_SHA256 select CRYPTO_SHA512
config CRYPTO_DRBG_HASH config CRYPTO_DRBG_HASH
bool "Enable Hash DRBG" bool "Enable Hash DRBG"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment