summaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorMarcelo Cerri <marcelo.cerri@canonical.com>2017-03-20 21:28:05 +0100
committerHerbert Xu <herbert@gondor.apana.org.au>2017-03-24 15:03:01 +0100
commit0d8da104840ab4244fe122e5b25570aa13fb00c0 (patch)
treea7a3a2424b5cf2ae14f5e4d780fba204c7af0b73 /crypto/testmgr.c
parentcrypto: zip - add a cast for printing atomic64_t values (diff)
downloadlinux-0d8da104840ab4244fe122e5b25570aa13fb00c0.tar.xz
linux-0d8da104840ab4244fe122e5b25570aa13fb00c0.zip
crypto: testmgr - mark ctr(des3_ede) as fips_allowed
3DES is missing the fips_allowed flag for CTR mode. Signed-off-by: Marcelo Henrique Cerri <marcelo.cerri@canonical.com> Acked-by: Stephan Mueller <smueller@chronox.de> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
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 89f1dd1f4b13..cd075c7d8ee1 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -2645,6 +2645,7 @@ static const struct alg_test_desc alg_test_descs[] = {
}, {
.alg = "ctr(des3_ede)",
.test = alg_test_skcipher,
+ .fips_allowed = 1,
.suite = {
.cipher = {
.enc = __VECS(des3_ede_ctr_enc_tv_template),