]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - crypto/testmgr.c
crypto: testmgr - add zlib test
[linux-2.6-omap-h63xx.git] / crypto / testmgr.c
index e750357b898f654bbf3f8fbc51587f948fa65ef4..b50c3c6b17a26301a8a799bf62a29fe5e0c89d46 100644 (file)
@@ -2018,6 +2018,21 @@ static const struct alg_test_desc alg_test_descs[] = {
                                }
                        }
                }
+       }, {
+               .alg = "zlib",
+               .test = alg_test_pcomp,
+               .suite = {
+                       .pcomp = {
+                               .comp = {
+                                       .vecs = zlib_comp_tv_template,
+                                       .count = ZLIB_COMP_TEST_VECTORS
+                               },
+                               .decomp = {
+                                       .vecs = zlib_decomp_tv_template,
+                                       .count = ZLIB_DECOMP_TEST_VECTORS
+                               }
+                       }
+               }
        }
 };