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 | a20cf9d5e7b44b7d1c5e8ee3adb61c8628d30d1e (patch) | |
tree | 349be47dc7d71152260c026054b43aa323c18930 /crypto/testmgr.c | |
parent | 23013696179de41a1f86a99288bcb19460be82d4 (diff) | |
download | linux-crypto-a20cf9d5e7b44b7d1c5e8ee3adb61c8628d30d1e.tar.gz linux-crypto-a20cf9d5e7b44b7d1c5e8ee3adb61c8628d30d1e.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 8ba1e75c..5fe90ea4 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 = { |