summaryrefslogtreecommitdiff
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorSonic Zhang <sonic.zhang@analog.com>2012-05-25 17:54:13 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2012-06-12 16:37:17 +0800
commitae91a5ffec6ede15c55d03e86a61b91a470b4a51 (patch)
treee5c4953ab2372b2da84e46eef60f353aded49830 /crypto/testmgr.c
parentf9dd10869d8c142e3669116bd3b4b8c29ee67734 (diff)
downloadlinux-crypto-ae91a5ffec6ede15c55d03e86a61b91a470b4a51.tar.gz
linux-crypto-ae91a5ffec6ede15c55d03e86a61b91a470b4a51.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.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/crypto/testmgr.c b/crypto/testmgr.c
index 5674878f..eb6d20f8 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 = {