mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
crypto: testmgr - Add ghash algorithm test before provide to users
Add ghash algorithm test before provide it to users Signed-off-by: Youquan, Song <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
parent
68ee87164e
commit
507069c91e
2 changed files with 24 additions and 0 deletions
|
|
@ -1942,6 +1942,15 @@ static const struct alg_test_desc alg_test_descs[] = {
|
|||
}
|
||||
}
|
||||
}
|
||||
}, {
|
||||
.alg = "ghash",
|
||||
.test = alg_test_hash,
|
||||
.suite = {
|
||||
.hash = {
|
||||
.vecs = ghash_tv_template,
|
||||
.count = GHASH_TEST_VECTORS
|
||||
}
|
||||
}
|
||||
}, {
|
||||
.alg = "hmac(md5)",
|
||||
.test = alg_test_hash,
|
||||
|
|
|
|||
Loading…
Reference in a new issue