summaryrefslogtreecommitdiff
path: root/crypto/Kconfig
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2022-01-18 16:31:29 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2022-01-31 11:21:43 +1100
commit1fa0a89f39aef866741191e06708db17f1366108 (patch)
tree911c39b88e74582cf47fd5bd8711418db720eefb /crypto/Kconfig
parent80f0516c41f8e15b18fac0c587ace9c906df859d (diff)
downloadlinux-crypto-1fa0a89f39aef866741191e06708db17f1366108.tar.gz
linux-crypto-1fa0a89f39aef866741191e06708db17f1366108.zip
crypto: kdf - Select hmac in addition to sha256
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: a99a1410a1ba ("crypto: kdf - select SHA-256 required...") Fixes: 3422d95e2c33 ("crypto: kdf - add SP800-108 counter key...") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/Kconfig')
-rw-r--r--crypto/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 6dcc77e9..fa1741bb 100644
--- a/crypto/Kconfig
+++ b/crypto/Kconfig
@@ -1861,6 +1861,7 @@ config CRYPTO_JITTERENTROPY
config CRYPTO_KDF800108_CTR
tristate
+ select CRYPTO_HMAC
select CRYPTO_SHA256
config CRYPTO_USER_API