Thread (2 messages) 2 messages, 2 authors, 2021-12-31

[PATCH] crypto: KDF - select SHA-256 required for self-test

flat view
STALE1764d

From: Stephan Müller <hidden>
Date: 2021-12-21 19:31:52
Subsystem: crypto api, the rest · Maintainers: Herbert Xu, "David S. Miller", Linus Torvalds

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 <redacted>
Signed-off-by: Stephan Mueller <redacted>
---
 crypto/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
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
-- 
2.33.1



Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help