summaryrefslogtreecommitdiffstats
path: root/crypto/kdf_sp800108.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/kdf_sp800108.c')
-rw-r--r--crypto/kdf_sp800108.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/kdf_sp800108.c b/crypto/kdf_sp800108.c
index c6e3ad82d5f7..c3f9938e1ad2 100644
--- a/crypto/kdf_sp800108.c
+++ b/crypto/kdf_sp800108.c
@@ -140,7 +140,7 @@ static int __init crypto_kdf108_init(void)
WARN(1,
"alg: self-tests for CTR-KDF (hmac(sha256)) failed (rc=%d)\n",
ret);
- } else {
+ } else if (fips_enabled) {
pr_info("alg: self-tests for CTR-KDF (hmac(sha256)) passed\n");
}