summaryrefslogtreecommitdiff
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2017-06-28 19:09:07 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2017-06-28 22:18:58 +0800
commit3a61ba3cbde9cd55a38b85616cd4764a2130dcd1 (patch)
tree8ee92eaea0baa54dd7cf6278cfa86b0e48be5182 /crypto/testmgr.c
parent414d058ea9cc1637cc401e0f1fc234ef477d09d3 (diff)
downloadlinux-crypto-3a61ba3cbde9cd55a38b85616cd4764a2130dcd1.tar.gz
linux-crypto-3a61ba3cbde9cd55a38b85616cd4764a2130dcd1.zip
crypto: testmgr - Reenable sha1/aes in FIPS mode
The combination of sha1 and aes was disabled in FIPS Mode accidentally. This patch reenables it. Fixes: 10a36533a372 ("crypto: testmgr - Disable fips-allowed for...") Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Acked-by: Stephan Müller <smueller@chronox.de>
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r--crypto/testmgr.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index 32087a7a..7125ba38 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -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)