diff options
author | Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com> | 2009-03-04 02:42:15 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-03-04 02:42:15 -0500 |
commit | 0c01aed50d4844f54f59e875e05d211e80874464 (patch) | |
tree | aa80b318c637bce768ff0f659c2affacd410e3ae /crypto/testmgr.c | |
parent | bf68e65ec9ea61e32ab71bef59aa5d24d255241f (diff) |
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.c | 15 |
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[] = { | |||
2018 | } | 2018 | } |
2019 | } | 2019 | } |
2020 | } | 2020 | } |
2021 | }, { | ||
2022 | .alg = "zlib", | ||
2023 | .test = alg_test_pcomp, | ||
2024 | .suite = { | ||
2025 | .pcomp = { | ||
2026 | .comp = { | ||
2027 | .vecs = zlib_comp_tv_template, | ||
2028 | .count = ZLIB_COMP_TEST_VECTORS | ||
2029 | }, | ||
2030 | .decomp = { | ||
2031 | .vecs = zlib_decomp_tv_template, | ||
2032 | .count = ZLIB_DECOMP_TEST_VECTORS | ||
2033 | } | ||
2034 | } | ||
2035 | } | ||
2021 | } | 2036 | } |
2022 | }; | 2037 | }; |
2023 | 2038 | ||