summaryrefslogtreecommitdiff
path: root/crypto/camellia.c
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2008-10-12 12:36:51 (GMT)
committerHerbert Xu <herbert@gondor.apana.org.au>2008-12-25 00:01:14 (GMT)
commitd12d6b6d37cad766b390467e770eb0ab81345d78 (patch)
tree368790705e820e98af39430eb622786ee31c681e /crypto/camellia.c
parentfe5720e2b7c1e8ff95d4bf18329517cf64ad1d70 (diff)
downloadlinux-fsl-qoriq-d12d6b6d37cad766b390467e770eb0ab81345d78.tar.xz
crypto: testmgr - Trigger a panic when self test fails in FIPS mode
The FIPS specification requires that should self test for any supported crypto algorithm fail during operation in fips mode, we need to prevent the use of any crypto functionality until such time as the system can be re-initialized. Seems like the best way to handle that would be to panic the system if we were in fips mode and failed a self test. This patch implements that functionality. I've built and run it successfully. Signed-off-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/camellia.c')
0 files changed, 0 insertions, 0 deletions