projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
881fc7f
)
crypto: kdf - Select hmac in addition to sha256
author
Herbert Xu
<herbert@gondor.apana.org.au>
Tue, 18 Jan 2022 05:31:29 +0000
(16:31 +1100)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Mon, 31 Jan 2022 00:21:43 +0000
(11:21 +1100)
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>
crypto/Kconfig
patch
|
blob
|
history
diff --git
a/crypto/Kconfig
b/crypto/Kconfig
index
6dcc77e
..
fa1741b
100644
(file)
--- 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