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.stricted.de/?a=commitdiff_plain;h=eac6d4081d7c3bae0e220859b5a0422cd53f00d8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.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,