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:
Youquan, Song 2009-11-23 20:23:04 +08:00 • committed by Herbert Xu
commit 507069c91e
2 changed files with 24 additions and 0 deletions

View file

@ -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,