summaryrefslogtreecommitdiff
path: root/crypto/scatterwalk.c
diff options
context:
space:
mode:
authorJarod Wilson <jarod@redhat.com>2011-01-29 15:14:35 +1100
committerHerbert Xu <herbert@gondor.apana.org.au>2011-01-29 15:14:35 +1100
commita2a98ea27b2ad5b757bb830b9c25574cdac8ee53 (patch)
tree564f0bdcc930cdc32476c84afe3f3c896fc3d7af /crypto/scatterwalk.c
parent2ea9cf31c700f0943b9669fdb9bd58b2573e5550 (diff)
downloadlinux-crypto-a2a98ea27b2ad5b757bb830b9c25574cdac8ee53.tar.gz
linux-crypto-a2a98ea27b2ad5b757bb830b9c25574cdac8ee53.zip
crypto: testmgr - mark ghash as fips_allowed
A self-test failure in fips mode means a panic. Well, gcm(aes) self-tests currently fail in fips mode, as gcm is dependent on ghash, which semi-recently got self-test vectors added, but wasn't marked as a fips_allowed algorithm. Because of gcm's dependence on what is now seen as a non-fips_allowed algorithm, its self-tests refuse to run. Previously, ghash got a pass in fips mode, due to the lack of any test vectors at all, and thus gcm self-tests were able to run. After this patch, a 'modprobe tcrypt mode=35' no longer panics in fips mode, and successful self-test of gcm(aes) is reported. Signed-off-by: Jarod Wilson <jarod@redhat.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/scatterwalk.c')
0 files changed, 0 insertions, 0 deletions