diff options
author | Youquan, Song <youquan.song@intel.com> | 2009-11-23 07:23:04 -0500 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-11-23 07:23:04 -0500 |
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[] = { | |||
1943 | } | 1943 | } |
1944 | } | 1944 | } |
1945 | }, { | 1945 | }, { |
1946 | .alg = "ghash", | ||
1947 | .test = alg_test_hash, | ||
1948 | .suite = { | ||
1949 | .hash = { | ||
1950 | .vecs = ghash_tv_template, | ||
1951 | .count = GHASH_TEST_VECTORS | ||
1952 | } | ||
1953 | } | ||
1954 | }, { | ||
1946 | .alg = "hmac(md5)", | 1955 | .alg = "hmac(md5)", |
1947 | .test = alg_test_hash, | 1956 | .test = alg_test_hash, |
1948 | .suite = { | 1957 | .suite = { |