summaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorGeert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>2009-03-04 15:42:15 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2009-03-04 15:42:15 +0800
commit0c01aed50d4844f54f59e875e05d211e80874464 (patch)
treeaa80b318c637bce768ff0f659c2affacd410e3ae /crypto/testmgr.c
parentbf68e65ec9ea61e32ab71bef59aa5d24d255241f (diff)
downloadlinux-0c01aed50d4844f54f59e875e05d211e80874464.tar.gz
linux-0c01aed50d4844f54f59e875e05d211e80874464.tar.bz2
linux-0c01aed50d4844f54f59e875e05d211e80874464.zip
crypto: testmgr - add zlib test
Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r--crypto/testmgr.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index e750357b898f..b50c3c6b17a2 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -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
+ }
+ }
+ }
}
};