crypto: testmgr - Adding ofb(aes) and cmac(aes) tests
[linux-2.6.git] / crypto / testmgr.c
index bb54b88..582e2ae 100644 (file)
@@ -1765,6 +1765,16 @@ static const struct alg_test_desc alg_test_descs[] = {
                                }
                        }
                }
+       },{
+               .alg = "cmac(aes)",
+               .test = alg_test_hash,
+               .fips_allowed = 1,
+               .suite = {
+                       .hash = {
+                               .vecs = cmac_aes_tv_template,
+                               .count = CMAC_AES_TEST_VECTORS
+                       }
+               }
        }, {
                .alg = "crc32c",
                .test = alg_test_crc32c,