summaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorHannah Pan <hannahpan@google.com>2019-07-02 18:16:02 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2019-07-26 00:58:38 -0400
commitf248caf9a5ccda733456baddb234bce7431152ba (patch)
tree7aef1b1d3a3ec83abea431eeed99eeb72c19f373 /crypto/testmgr.c
parentb46033fdd25abb30b253cd283b551323b723a2db (diff)
crypto: testmgr - add tests for lzo-rle
Add self-tests for the lzo-rle algorithm. Signed-off-by: Hannah Pan <hannahpan@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r--crypto/testmgr.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index 8ba1e75cd973..5fe90ea46319 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -4741,6 +4741,16 @@ static const struct alg_test_desc alg_test_descs[] = {
4741 } 4741 }
4742 } 4742 }
4743 }, { 4743 }, {
4744 .alg = "lzo-rle",
4745 .test = alg_test_comp,
4746 .fips_allowed = 1,
4747 .suite = {
4748 .comp = {
4749 .comp = __VECS(lzorle_comp_tv_template),
4750 .decomp = __VECS(lzorle_decomp_tv_template)
4751 }
4752 }
4753 }, {
4744 .alg = "md4", 4754 .alg = "md4",
4745 .test = alg_test_hash, 4755 .test = alg_test_hash,
4746 .suite = { 4756 .suite = {