Skip to content

Commit 5261cdf

Browse files
smuellerDDherbertx
authored andcommitted
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: 9b7b946 "crypto: DRBG - switch to HMAC SHA512 DRBG as default DRBG" Reported-by: Sachin Sant <[email protected]> Signed-off-by: Stephan Mueller <[email protected]> Tested-by: Sachin Sant <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent e73f0f0 commit 5261cdf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1768,7 +1768,7 @@ config CRYPTO_DRBG_HMAC
17681768
bool
17691769
default y
17701770
select CRYPTO_HMAC
1771-
select CRYPTO_SHA256
1771+
select CRYPTO_SHA512
17721772

17731773
config CRYPTO_DRBG_HASH
17741774
bool "Enable Hash DRBG"

0 commit comments

Comments
 (0)