diff options
author | Jarod Wilson | 2009-05-15 15:17:05 +1000 |
---|---|---|
committer | Herbert Xu | 2009-06-02 14:04:49 +1000 |
commit | a3bef3a31a19bd943047ba8bf5b2cc7b5d164362 (patch) | |
tree | f6eff2b5a4053713ebe9f7812f351a938c2a880f /fs/jfs | |
parent | a1915d51e8e7ee192d2101d621d425379088cbb0 (diff) |
crypto: testmgr - Skip algs not flagged fips_allowed in fips mode
Because all fips-allowed algorithms must be self-tested before they
can be used, they will all have entries in testmgr.c's alg_test_descs[].
Skip self-tests for any algs not flagged as fips_approved and return
-EINVAL when in fips mode.
Signed-off-by: Jarod Wilson <jarod@redhat.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'fs/jfs')
0 files changed, 0 insertions, 0 deletions