crypto: cmac - allow usage in FIPS mode
[firefly-linux-kernel-4.4.55.git] / crypto / testmgr.c
index d0a42bd3aae926fcfef0624c6497452e9a0741c5..a865ea99a057d5c769b0a6c76ba51d6989be6049 100644 (file)
@@ -2476,6 +2476,7 @@ static const struct alg_test_desc alg_test_descs[] = {
                }
        }, {
                .alg = "cmac(aes)",
+               .fips_allowed = 1,
                .test = alg_test_hash,
                .suite = {
                        .hash = {
@@ -2485,6 +2486,7 @@ static const struct alg_test_desc alg_test_descs[] = {
                }
        }, {
                .alg = "cmac(des3_ede)",
+               .fips_allowed = 1,
                .test = alg_test_hash,
                .suite = {
                        .hash = {