From: Herbert Xu Date: Tue, 18 Jan 2022 05:31:29 +0000 (+1100) Subject: crypto: kdf - Select hmac in addition to sha256 X-Git-Tag: v5.18-rc1~199^2~119 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a88592cc27efd4ed0ceba79016eb4a3ddb90e05e;p=thirdparty%2Fkernel%2Flinux.git 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 Fixes: 304b4acee2f0 ("crypto: kdf - select SHA-256 required...") Fixes: 026a733e6659 ("crypto: kdf - add SP800-108 counter key...") Signed-off-by: Herbert Xu --- diff --git a/crypto/Kconfig b/crypto/Kconfig index 6dcc77e95caed..fa1741bb568f9 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