diff --git a/crypto/testmgr.c b/crypto/testmgr.c index e3f9973abbdc2eaf995132ad2d26e2b00481a3e3..e76af78d2fa02d7e9177a413f38b65347052d84e 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -2234,6 +2234,10 @@ int alg_test(const char *driver, const char *alg, u32 type, u32 mask) if (fips_enabled && rc) panic("%s: %s alg self test failed in fips mode!\n", driver, alg); + if (fips_enabled && !rc) + printk(KERN_INFO "alg: self-tests for %s (%s) passed\n", + driver, alg); + return rc; notest: