summaryrefslogtreecommitdiffstats
path: root/crypto
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
commita88592cc27efd4ed0ceba79016eb4a3ddb90e05e (patch)
tree650c80281b79dddf39c418f1d991aaeae272dff0 /crypto
parent881fc7fba6c3e7d77d608b9a50b01a89d5e0c61b (diff)
downloadlinux-stable-a88592cc27efd4ed0ceba79016eb4a3ddb90e05e.tar.gz
linux-stable-a88592cc27efd4ed0ceba79016eb4a3ddb90e05e.tar.bz2
linux-stable-a88592cc27efd4ed0ceba79016eb4a3ddb90e05e.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: 304b4acee2f0 ("crypto: kdf - select SHA-256 required...") Fixes: 026a733e6659 ("crypto: kdf - add SP800-108 counter key...") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/Kconfig b/crypto/Kconfig
index 6dcc77e95cae..fa1741bb568f 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