Commit eac6d408 authored by Stephan Mueller's avatar Stephan Mueller Committed by Herbert Xu

crypto: ansi_cprng - ANSI X9.31 DRNG is not allowed in FIPS 140-2

As per update of the FIPS 140-2 Annex C supported by SP800-131A, the
ANSI X9.31 DRNG is not an allowed cipher in FIPS mode any more.

CC: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: default avatarStephan Mueller <smueller@chronox.de>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent cbe09bd5
...@@ -2081,7 +2081,6 @@ static const struct alg_test_desc alg_test_descs[] = { ...@@ -2081,7 +2081,6 @@ static const struct alg_test_desc alg_test_descs[] = {
}, { }, {
.alg = "ansi_cprng", .alg = "ansi_cprng",
.test = alg_test_cprng, .test = alg_test_cprng,
.fips_allowed = 1,
.suite = { .suite = {
.cprng = { .cprng = {
.vecs = ansi_cprng_aes_tv_template, .vecs = ansi_cprng_aes_tv_template,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment