OSDN Git Service

crypto: testmgr - mark crc32 checksum as FIPS allowed
authorMilan Broz <gmazyland@gmail.com>
Fri, 25 Jan 2019 09:31:47 +0000 (10:31 +0100)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 1 Feb 2019 06:42:05 +0000 (14:42 +0800)
commita8a344166343e8283fcbef56b931125098a1cbd4
tree069db7c55686bce53bda665bd9bd5b573489fa59
parent87fec0102dada9084b86a782287551b237efb914
crypto: testmgr - mark crc32 checksum as FIPS allowed

The CRC32 is not a cryptographic hash algorithm,
so the FIPS restrictions should not apply to it.
(The CRC32C variant is already allowed.)

This CRC32 variant is used for in dm-crypt legacy TrueCrypt
IV implementation (tcw); detected by cryptsetup test suite
failure in FIPS mode.

Signed-off-by: Milan Broz <gmazyland@gmail.com>
Reviewed-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/testmgr.c