diff options
author | Jarod Wilson <jarod@redhat.com> | 2009-05-15 15:17:05 +1000 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-06-02 14:04:49 +1000 |
commit | 539e9967add05754a147b1962c3562f454e4e394 (patch) | |
tree | 947acb936b383782967c0e657a08ffabc3e1f9cf /crypto/pcbc.c | |
parent | 4307f33f48e0148f5dac5a8f149272d07e7ba243 (diff) | |
download | linux-crypto-539e9967add05754a147b1962c3562f454e4e394.tar.gz linux-crypto-539e9967add05754a147b1962c3562f454e4e394.zip |
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 'crypto/pcbc.c')
0 files changed, 0 insertions, 0 deletions