Skip to contentSkip to conversation

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

PATCH In review Stephan Müller 2 participants 2 messages Dec 21, 2021 – Dec 31, 2021 Crypto API

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 crypto: KDF - select SHA-256 required for self-test

The self test of the KDF is based on SHA-256. Thus, this algorithm must be present as otherwise a warning is issued.

---
 crypto/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
crypto/Kconfig +1 -1
index 01b9ca0836a5..649ee1df05c6 100644
@@ -1847,7 +1847,7 @@ config CRYPTO_JITTERENTROPY
 
 config CRYPTO_KDF800108_CTR
 	tristate
-	select CRYPTO_HASH
+	select CRYPTO_SHA256
 
 config CRYPTO_USER_API
 	tristate
Signature · 1 line
2.33.1
maintainer
#1 lore raw
Quoted 8 lines · Stephan Müller

The self test of the KDF is based on SHA-256. Thus, this algorithm must be present as otherwise a warning is issued.

---
 crypto/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied. Thanks.

Signature · 3 lines
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt