]> www.infradead.org Git - users/dwmw2/linux.git/commit
crypto: kdf - Select hmac in addition to sha256
authorHerbert Xu <herbert@gondor.apana.org.au>
Tue, 18 Jan 2022 05:31:29 +0000 (16:31 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 8 Apr 2022 11:57:32 +0000 (13:57 +0200)
commit6af12f8d1e43ead89c3c55fd373f03bfc0bc1197
tree52097fa49aea7ac26be45ddad6aff15dcf037fae
parentec9b596e4cb8db3224f68bce77d198d071fc5cfd
crypto: kdf - Select hmac in addition to sha256

[ Upstream commit a88592cc27efd4ed0ceba79016eb4a3ddb90e05e ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
crypto/Kconfig