summaryrefslogtreecommitdiff
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorHannah Pan <hannahpan@google.com>2019-07-03 01:16:02 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2019-07-26 07:58:38 +0300
commitf248caf9a5ccda733456baddb234bce7431152ba (patch)
tree7aef1b1d3a3ec83abea431eeed99eeb72c19f373 /crypto/testmgr.c
parentb46033fdd25abb30b253cd283b551323b723a2db (diff)
downloadlinux-f248caf9a5ccda733456baddb234bce7431152ba.tar.xz
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[] = {
}
}
}, {
+ .alg = "lzo-rle",
+ .test = alg_test_comp,
+ .fips_allowed = 1,
+ .suite = {
+ .comp = {
+ .comp = __VECS(lzorle_comp_tv_template),
+ .decomp = __VECS(lzorle_decomp_tv_template)
+ }
+ }
+ }, {
.alg = "md4",
.test = alg_test_hash,
.suite = {