summaryrefslogtreecommitdiff
path: root/crypto/gf128mul.c
diff options
context:
space:
mode:
authorNeil Horman <nhorman@tuxdriver.com>2008-10-12 20:36:51 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2008-12-25 11:01:14 +1100
commit4f076875be5738994fcfca107f62f79038c53d33 (patch)
treef3da61c1694783d824c9dfa0fba2f0409e004028 /crypto/gf128mul.c
parent1283bb52736a5f5006007550ba4dccc5eef63938 (diff)
downloadlinux-crypto-4f076875be5738994fcfca107f62f79038c53d33.tar.gz
linux-crypto-4f076875be5738994fcfca107f62f79038c53d33.zip
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/gf128mul.c')
0 files changed, 0 insertions, 0 deletions