aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2009-09-02 06:05:22 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2009-09-02 06:05:22 -0400
commitf1939f7c56456d22a559d2c75156e91912a2e97e (patch)
tree49b16096a65ccb318777b50e15e3ed2c66db0500 /crypto/testmgr.c
parent2bf2901669a564b402cd0e40eb3f941c391e64c4 (diff)
crypto: vmac - New hash algorithm for intel_txt support
This patch adds VMAC (a fast MAC) support into crypto framework. Signed-off-by: Shane Wang <shane.wang@intel.com> Signed-off-by: Joseph Cihula <joseph.cihula@intel.com> 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 29b228d9b1a2..6d5b746637be 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -2248,6 +2248,15 @@ static const struct alg_test_desc alg_test_descs[] = {
2248 } 2248 }
2249 } 2249 }
2250 }, { 2250 }, {
2251 .alg = "vmac(aes)",
2252 .test = alg_test_hash,
2253 .suite = {
2254 .hash = {
2255 .vecs = aes_vmac128_tv_template,
2256 .count = VMAC_AES_TEST_VECTORS
2257 }
2258 }
2259 }, {
2251 .alg = "wp256", 2260 .alg = "wp256",
2252 .test = alg_test_hash, 2261 .test = alg_test_hash,
2253 .suite = { 2262 .suite = {