diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2012-05-25 11:54:13 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2012-06-12 10:37:17 +0200 |
commit | a482b081a2d4d74d16bc9ea8779f9f6055f95852 (patch) | |
tree | 96832483869b977ab7f090c4793ed45bda0afd74 /crypto/testmgr.c | |
parent | crypto: sha1 - use Kbuild supplied flags for AVX test (diff) | |
download | linux-a482b081a2d4d74d16bc9ea8779f9f6055f95852.tar.xz linux-a482b081a2d4d74d16bc9ea8779f9f6055f95852.zip |
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[] = { } } }, { + .alg = "hmac(crc32)", + .test = alg_test_hash, + .suite = { + .hash = { + .vecs = bfin_crc_tv_template, + .count = BFIN_CRC_TEST_VECTORS + } + } + }, { .alg = "hmac(md5)", .test = alg_test_hash, .suite = { |