diff options
author | Youquan, Song <youquan.song@intel.com> | 2009-11-23 15:23:04 +0300 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-11-23 15:23:04 +0300 |
commit | 507069c91e36786b3fa5d9515c35ed6bb0ce469b (patch) | |
tree | 75b1ddc61cf5986e78b8166a355d1827055751a2 /crypto/testmgr.c | |
parent | 68ee87164e73f68cf09070043c97e7f61e6966d4 (diff) |
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.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c index 1f2357bc6424..7620bfce92f2 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 = { |