Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 826775bb authored by Herbert Xu's avatar Herbert Xu
Browse files

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: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent 593dfbd9
Loading
Loading
Loading
Loading
+2 −1
Original line number Original line Diff line number Diff line
@@ -1508,10 +1508,11 @@ config CRYPTO_DRBG_HMAC
	bool
	bool
	default y
	default y
	select CRYPTO_HMAC
	select CRYPTO_HMAC
	select CRYPTO_SHA256


config CRYPTO_DRBG_HASH
config CRYPTO_DRBG_HASH
	bool "Enable Hash DRBG"
	bool "Enable Hash DRBG"
	select CRYPTO_HASH
	select CRYPTO_SHA256
	help
	help
	  Enable the Hash DRBG variant as defined in NIST SP800-90A.
	  Enable the Hash DRBG variant as defined in NIST SP800-90A.