diff mbox series

crypto: KDF - select SHA-256 required for self-test

Message ID 2576506.vuYhMxLoTh@positron.chronox.de (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show
Series crypto: KDF - select SHA-256 required for self-test | expand

Commit Message

Stephan Mueller Dec. 21, 2021, 7:31 p.m. UTC
The self test of the KDF is based on SHA-256. Thus, this algorithm must
be present as otherwise a warning is issued.

Reported-by: kernel test robot <oliver.sang@intel.com>
Signed-off-by: Stephan Mueller <smueller@chronox.de>
---
 crypto/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Herbert Xu Dec. 31, 2021, 11:35 a.m. UTC | #1
On Tue, Dec 21, 2021 at 08:31:42PM +0100, Stephan Müller wrote:
> The self test of the KDF is based on SHA-256. Thus, this algorithm must
> be present as otherwise a warning is issued.
> 
> Reported-by: kernel test robot <oliver.sang@intel.com>
> Signed-off-by: Stephan Mueller <smueller@chronox.de>
> ---
>  crypto/Kconfig | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied.  Thanks.
diff mbox series

Patch

diff --git a/crypto/Kconfig b/crypto/Kconfig
index 01b9ca0836a5..649ee1df05c6 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1847,7 +1847,7 @@  config CRYPTO_JITTERENTROPY
 
 config CRYPTO_KDF800108_CTR
 	tristate
-	select CRYPTO_HASH
+	select CRYPTO_SHA256
 
 config CRYPTO_USER_API
 	tristate