summaryrefslogtreecommitdiff
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
commitc27d51ca2fbbd48fefeca43e6a31b664673b6f62 (patch)
treebbd5d8ba82f61c0223422da8d2577f618f143999 /crypto/testmgr.c
parentf097b4802f6e12969923b7ebf6b6792130153d4d (diff)
downloadlinux-crypto-c27d51ca2fbbd48fefeca43e6a31b664673b6f62.tar.gz
linux-crypto-c27d51ca2fbbd48fefeca43e6a31b664673b6f62.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 e750357b..b50c3c6b 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
+ }
+ }
+ }
}
};