diff options
author | Hannah Pan <hannahpan@google.com> | 2019-07-02 15:16:02 -0700 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2019-07-26 14:58:38 +1000 |
commit | f248caf9a5ccda733456baddb234bce7431152ba (patch) | |
tree | 7aef1b1d3a3ec83abea431eeed99eeb72c19f373 /crypto/testmgr.c | |
parent | b46033fdd25abb30b253cd283b551323b723a2db (diff) | |
download | linux-stable-f248caf9a5ccda733456baddb234bce7431152ba.tar.gz linux-stable-f248caf9a5ccda733456baddb234bce7431152ba.tar.bz2 linux-stable-f248caf9a5ccda733456baddb234bce7431152ba.zip |
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.c | 10 |
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 = { |