From: Stephan Mueller Date: Tue, 5 Jan 2016 12:12:21 +0000 (+0100) Subject: crypto: ansi_cprng - ANSI X9.31 DRNG is not allowed in FIPS 140-2 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=eac6d4081d7c3bae0e220859b5a0422cd53f00d8;p=linux-beck.git 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 Signed-off-by: Stephan Mueller Signed-off-by: Herbert Xu --- diff --git a/crypto/testmgr.c b/crypto/testmgr.c index ae8c57fd8bc7..5c0963d17de7 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -2081,7 +2081,6 @@ static const struct alg_test_desc alg_test_descs[] = { }, { .alg = "ansi_cprng", .test = alg_test_cprng, - .fips_allowed = 1, .suite = { .cprng = { .vecs = ansi_cprng_aes_tv_template,