All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] crypto: KDF - select SHA-256 required for self-test
@ 2021-12-21 19:31 Stephan Müller
  2021-12-31 11:35 ` Herbert Xu
  0 siblings, 1 reply; 2+ messages in thread
From: Stephan Müller @ 2021-12-21 19:31 UTC (permalink / raw)
  To: herbert; +Cc: linux-crypto, simo

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(-)

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





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

* Re: [PATCH] crypto: KDF - select SHA-256 required for self-test
  2021-12-21 19:31 [PATCH] crypto: KDF - select SHA-256 required for self-test Stephan Müller
@ 2021-12-31 11:35 ` Herbert Xu
  0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2021-12-31 11:35 UTC (permalink / raw)
  To: Stephan Müller; +Cc: linux-crypto, simo

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.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

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

end of thread, other threads:[~2021-12-31 11:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-12-21 19:31 [PATCH] crypto: KDF - select SHA-256 required for self-test Stephan Müller
2021-12-31 11:35 ` Herbert Xu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.