From f248caf9a5ccda733456baddb234bce7431152ba Mon Sep 17 00:00:00 2001 From: Hannah Pan Date: Tue, 2 Jul 2019 15:16:02 -0700 Subject: crypto: testmgr - add tests for lzo-rle Add self-tests for the lzo-rle algorithm. Signed-off-by: Hannah Pan Signed-off-by: Herbert Xu --- crypto/testmgr.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'crypto/testmgr.c') diff --git a/crypto/testmgr.c b/crypto/testmgr.c index 8ba1e75cd973..5fe90ea46319 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c @@ -4740,6 +4740,16 @@ static const struct alg_test_desc alg_test_descs[] = { .decomp = __VECS(lzo_decomp_tv_template) } } + }, { + .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, -- cgit v1.2.3