Skip to content

Commit

Permalink
crypto: drbg - Add select on sha256
Browse files Browse the repository at this point in the history
The hash-based DRBG variants all use sha256 so we need to add a
select on it.

Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
herbertx committed Jun 11, 2015
1 parent 593dfbd commit 826775b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crypto/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 826775b

Please sign in to comment.