linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 1/2] crypto: drbg: DRBG should select SHA512
@ 2020-03-10 21:05 Corentin Labbe
  2020-03-10 21:05 ` [PATCH v2 2/2] crypto: drbg: DRBG_CTR should select CTR Corentin Labbe
  0 siblings, 1 reply; 3+ messages in thread
From: Corentin Labbe @ 2020-03-10 21:05 UTC (permalink / raw)
  To: davem, herbert; +Cc: linux-crypto, linux-kernel, Corentin Labbe

Since DRBG could use SHA384/SHA512, it should select it.

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
---
 crypto/Kconfig | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/crypto/Kconfig b/crypto/Kconfig
index c24a47406f8f..6d27fc6a7bf5 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1810,10 +1810,12 @@ config CRYPTO_DRBG_HMAC
 	default y
 	select CRYPTO_HMAC
 	select CRYPTO_SHA256
+	select CRYPTO_SHA512
 
 config CRYPTO_DRBG_HASH
 	bool "Enable Hash DRBG"
 	select CRYPTO_SHA256
+	select CRYPTO_SHA512
 	help
 	  Enable the Hash DRBG variant as defined in NIST SP800-90A.
 
-- 
2.24.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-03-20  2:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-10 21:05 [PATCH v2 1/2] crypto: drbg: DRBG should select SHA512 Corentin Labbe
2020-03-10 21:05 ` [PATCH v2 2/2] crypto: drbg: DRBG_CTR should select CTR Corentin Labbe
2020-03-20  2:47   ` Herbert Xu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).