summaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorYouquan, Song <youquan.song@intel.com>2009-11-23 20:23:04 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2009-11-23 20:23:04 +0800
commit507069c91e36786b3fa5d9515c35ed6bb0ce469b (patch)
tree75b1ddc61cf5986e78b8166a355d1827055751a2 /crypto/testmgr.c
parent68ee87164e73f68cf09070043c97e7f61e6966d4 (diff)
downloadop-kernel-dev-507069c91e36786b3fa5d9515c35ed6bb0ce469b.zip
op-kernel-dev-507069c91e36786b3fa5d9515c35ed6bb0ce469b.tar.gz
crypto: testmgr - Add ghash algorithm test before provide to users
Add ghash algorithm test before provide it to users Signed-off-by: Youquan, Song <youquan.song@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/testmgr.c')
-rw-r--r--crypto/testmgr.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index 1f2357b..7620bfc 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -1943,6 +1943,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,
.suite = {
OpenPOWER on IntegriCloud