crypto: testmgr - mark ctr(des3_ede) as fips_allowed
authorMarcelo Cerri <marcelo.cerri@canonical.com>
Mon, 20 Mar 2017 20:28:05 +0000 (17:28 -0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 24 Mar 2017 14:03:01 +0000 (22:03 +0800)
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>
crypto/testmgr.c

index 89f1dd1f4b13d82466013d612039b8b3ac61013a..cd075c7d8ee1791a481ebabe465f372580512959 100644 (file)
@@ -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),