Pārlūkot izejas kodu

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: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Stephan Mueller 9 gadi atpakaļ
vecāks
revīzija
eac6d4081d
1 mainītis faili ar 0 papildinājumiem un 1 dzēšanām
  1. 0 1
      crypto/testmgr.c

+ 0 - 1
crypto/testmgr.c

@@ -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,