crypto: testmgr - mark xts(aes) as fips_allowed
authorJarod Wilson <jarod@redhat.com>
Sat, 29 Jan 2011 04:14:01 +0000 (15:14 +1100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 29 Jan 2011 04:14:01 +0000 (15:14 +1100)
commit2918aa8d1d4e7b4586a5a89dc8406e1d431f5129
tree587c737af80f24a1356202ce0c981f3b5120f523
parent33c7c0fb20dbbaca67fcf362f875758ba312f58d
crypto: testmgr - mark xts(aes) as fips_allowed

We (Red Hat) are intending to include dm-crypt functionality, using
xts(aes) for disk encryption, as part of an upcoming FIPS-140-2
certification effort, and xts(aes) *is* on the list of possible
mode/cipher combinations that can be certified. To make that possible, we
need to mark xts(aes) as fips_allowed in the crypto subsystem.

A 'modprobe tcrypt mode=10' in fips mode shows xts(aes) self-tests
passing successfully after this change.

Signed-off-by: Jarod Wilson <jarod@redhat.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c