crypto: testmgr - Print self-test pass notices in fips mode
authorJarod Wilson <jarod@redhat.com>
Mon, 4 May 2009 11:51:17 +0000 (19:51 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 2 Jun 2009 04:04:43 +0000 (14:04 +1000)
commit29ecd4ab3d3aa8bb231361937165dfbbbc534e9a
tree10418454f2a4d544bb97b586720835bb0a7307b6
parent941fb3287c0c0d84000b669db5450ac4886da640
crypto: testmgr - Print self-test pass notices in fips mode

According to our FIPS CAVS testing lab guru, when we're in fips mode,
we must print out notices of successful self-test completion for
every alg to be compliant.

New and improved v2, without strncmp crap. Doesn't need to touch a flag
though, due to not moving the notest label around anymore.

Applies atop '[PATCH v2] crypto: catch base cipher self-test failures
in fips mode'.

Personally, I wouldn't mind seeing this info printed out regardless of
whether or not we're in fips mode, I think its useful info, but will
stick with only in fips mode for now.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c