projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
593dfbd
)
crypto: drbg - Add select on sha256
author
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 11 Jun 2015 00:55:10 +0000
(08:55 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 11 Jun 2015 13:55:28 +0000
(21:55 +0800)
The hash-based DRBG variants all use sha256 so we need to add a
select on it.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/Kconfig
patch
|
blob
|
blame
|
history
diff --git
a/crypto/Kconfig
b/crypto/Kconfig
index cb7806f31c372510bb584a912b4801d41da48b6e..f6fc054eb2d1915027b85be745212922e8f0c415 100644
(file)
--- a/
crypto/Kconfig
+++ b/
crypto/Kconfig
@@
-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.