Skip to content

Commit

Permalink
crypto: kdf - Select hmac in addition to sha256
Browse files Browse the repository at this point in the history
[ Upstream commit a88592c ]

In addition to sha256 we must also enable hmac for the kdf self-test
to work.

Reported-by: kernel test robot <oliver.sang@intel.com>
Fixes: 304b4ac ("crypto: kdf - select SHA-256 required...")
Fixes: 026a733 ("crypto: kdf - add SP800-108 counter key...")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
herbertx authored and gregkh committed Apr 8, 2022
1 parent ec9b596 commit 6af12f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crypto/Kconfig
Expand Up @@ -1847,6 +1847,7 @@ config CRYPTO_JITTERENTROPY

config CRYPTO_KDF800108_CTR
tristate
select CRYPTO_HMAC
select CRYPTO_SHA256

config CRYPTO_USER_API
Expand Down

0 comments on commit 6af12f8

Please sign in to comment.