mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
crypto: testmgr - add tests for lzo-rle
Add self-tests for the lzo-rle algorithm. Signed-off-by: Hannah Pan <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
b46033fdd2
commit
f248caf9a5
2 changed files with 90 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue