summaryrefslogtreecommitdiff
path: root/crypto/vmac.c
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2016-08-25 15:15:01 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2016-08-31 23:21:25 +0800
commit804f3c722a462138f5e56a74a4d21616d4275ab8 (patch)
tree88c10efa264c0debc4e4a74722c65f7e4ad57c35 /crypto/vmac.c
parent30809d18f22ad1b4ed32b4d885a55f0abcadeb86 (diff)
downloadlinux-crypto-804f3c722a462138f5e56a74a4d21616d4275ab8.tar.gz
linux-crypto-804f3c722a462138f5e56a74a4d21616d4275ab8.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/vmac.c')
0 files changed, 0 insertions, 0 deletions