diff options
author | Stephan Mueller <smueller@chronox.de> | 2016-08-25 15:15:01 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2016-08-31 23:21:25 +0800 |
commit | 10faa8c0d6c3b22466f97713a9533824a2ea1c57 (patch) | |
tree | 3e6c48146665b6397a434d142cf1d2014d7fee68 /crypto/twofish_common.c | |
parent | 93ba73fed31d0ec96489fedaeef1a1c402f9c8e4 (diff) | |
download | linux-10faa8c0d6c3b22466f97713a9533824a2ea1c57.tar.gz linux-10faa8c0d6c3b22466f97713a9533824a2ea1c57.tar.bz2 linux-10faa8c0d6c3b22466f97713a9533824a2ea1c57.zip |
crypto: FIPS - allow tests to be disabled in FIPS mode
In FIPS mode, additional restrictions may apply. If these restrictions
are violated, the kernel will panic(). This patch allows test vectors
for symmetric ciphers to be marked as to be skipped in FIPS mode.
Together with the patch, the XTS test vectors where the AES key is
identical to the tweak key is disabled in FIPS mode. This test vector
violates the FIPS requirement that both keys must be different.
Reported-by: Tapas Sarangi <TSarangi@trustwave.com>
Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/twofish_common.c')
0 files changed, 0 insertions, 0 deletions