diff options
author | Milan Broz <gmazyland@gmail.com> | 2019-01-25 10:31:47 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-02-01 14:42:05 +0800 |
commit | 208a8acbb6744964d8361996b2b2b0f1948e87cc (patch) | |
tree | 0cb884778ea171e9e93714baaf2f9b5e867d60b5 /crypto | |
parent | 8a6defd709ea0173d4b521b19b12dd3a81aca5a5 (diff) | |
download | linux-crypto-208a8acbb6744964d8361996b2b2b0f1948e87cc.tar.gz linux-crypto-208a8acbb6744964d8361996b2b2b0f1948e87cc.zip |
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>
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/testmgr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index a73455b5..17f57f27 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -2740,6 +2740,7 @@ static const struct alg_test_desc alg_test_descs[] = { }, { .alg = "crc32", .test = alg_test_hash, + .fips_allowed = 1, .suite = { .hash = __VECS(crc32_tv_template) } |