diff mbox

crypto: testmgr - Reenable sha1/aes in FIPS mode

Message ID 20170628110907.GA14186@gondor.apana.org.au (mailing list archive)
State Accepted
Delegated to: Herbert Xu
Headers show

Commit Message

Herbert Xu June 28, 2017, 11:09 a.m. UTC
The combination of sha1 and aes was disabled in FIPS Mode
accidentally.  This patch reenables it.

Fixes: 284a0f6e87b0 ("crypto: testmgr - Disable fips-allowed for...")
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Comments

Stephan Mueller June 28, 2017, 1:05 p.m. UTC | #1
Am Mittwoch, 28. Juni 2017, 13:09:07 CEST schrieb Herbert Xu:

Hi Herbert,

> The combination of sha1 and aes was disabled in FIPS Mode
> accidentally.  This patch reenables it.
> 
> Fixes: 284a0f6e87b0 ("crypto: testmgr - Disable fips-allowed for...")
> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Acked-by: Stephan Müller <smueller@chronox.de>

Ciao
Stephan
diff mbox

Patch

diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index 32087a7..7125ba3 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -2366,6 +2366,7 @@  static int alg_test_null(const struct alg_test_desc *desc,
 	}, {
 		.alg = "authenc(hmac(sha1),cbc(aes))",
 		.test = alg_test_aead,
+		.fips_allowed = 1,
 		.suite = {
 			.aead = {
 				.enc = __VECS(hmac_sha1_aes_cbc_enc_tv_temp)