diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2012-05-25 05:54:13 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-06-12 04:37:17 -0400 |
commit | a482b081a2d4d74d16bc9ea8779f9f6055f95852 (patch) | |
tree | 96832483869b977ab7f090c4793ed45bda0afd74 /crypto/testmgr.c | |
parent | 65df57743924c3d13e1fa1bcf5bf70fe874fcdfd (diff) |
crypto: testmgr - Add new test cases for Blackfin CRC crypto driver
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
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 5674878ff6c1..eb6d20f8ec5d 100644 --- a/crypto/testmgr.c +++ b/crypto/testmgr.c | |||
@@ -2220,6 +2220,15 @@ static const struct alg_test_desc alg_test_descs[] = { | |||
2220 | } | 2220 | } |
2221 | } | 2221 | } |
2222 | }, { | 2222 | }, { |
2223 | .alg = "hmac(crc32)", | ||
2224 | .test = alg_test_hash, | ||
2225 | .suite = { | ||
2226 | .hash = { | ||
2227 | .vecs = bfin_crc_tv_template, | ||
2228 | .count = BFIN_CRC_TEST_VECTORS | ||
2229 | } | ||
2230 | } | ||
2231 | }, { | ||
2223 | .alg = "hmac(md5)", | 2232 | .alg = "hmac(md5)", |
2224 | .test = alg_test_hash, | 2233 | .test = alg_test_hash, |
2225 | .suite = { | 2234 | .suite = { |