crypto: testmgr - Reenable sha1/aes in FIPS mode
authorHerbert Xu <herbert@gondor.apana.org.au>
Wed, 28 Jun 2017 11:09:07 +0000 (19:09 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Wed, 28 Jun 2017 14:18:58 +0000 (22:18 +0800)
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>
crypto/testmgr.c

index 32087a7acbfb7a5e586f0195b42802cb9de0324b..7125ba3880afd612e08ba6dbb331ab6449da8b24 100644 (file)
@@ -2366,6 +2366,7 @@ static const struct alg_test_desc alg_test_descs[] = {
        }, {
                .alg = "authenc(hmac(sha1),cbc(aes))",
                .test = alg_test_aead,
+               .fips_allowed = 1,
                .suite = {
                        .aead = {
                                .enc = __VECS(hmac_sha1_aes_cbc_enc_tv_temp)