[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1582127495-5871-1-git-send-email-clabbe@baylibre.com>
Date: Wed, 19 Feb 2020 15:51:34 +0000
From: Corentin Labbe <clabbe@...libre.com>
To: davem@...emloft.net, herbert@...dor.apana.org.au
Cc: linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
Corentin Labbe <clabbe@...libre.com>
Subject: [PATCH 1/2] crypto: drbg: DRBG should select SHA512
Since DRBG could use SHA384/SHA512, it should select it.
Signed-off-by: Corentin Labbe <clabbe@...libre.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
Powered by blists - more mailing lists