From: Jarod Wilson Date: Fri, 15 May 2009 05:17:05 +0000 (+1000) Subject: crypto: testmgr - Skip algs not flagged fips_allowed in fips mode X-Git-Tag: v2.6.31-rc1~352^2~10 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3bef3a31a19bd943047ba8bf5b2cc7b5d164362;p=pandora-kernel.git 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 Acked-by: Neil Horman Signed-off-by: Herbert Xu --- Reading git-diff-tree failed