summaryrefslogtreecommitdiff
path: root/crypto/testmgr.c
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2009-09-02 20:05:22 +1000
committerHerbert Xu <herbert@gondor.apana.org.au>2009-09-02 20:05:22 +1000
commitf1939f7c56456d22a559d2c75156e91912a2e97e (patch)
tree49b16096a65ccb318777b50e15e3ed2c66db0500 /crypto/testmgr.c
parent2bf2901669a564b402cd0e40eb3f941c391e64c4 (diff)
downloadlinux-3.10-f1939f7c56456d22a559d2c75156e91912a2e97e.tar.gz
linux-3.10-f1939f7c56456d22a559d2c75156e91912a2e97e.tar.bz2
linux-3.10-f1939f7c56456d22a559d2c75156e91912a2e97e.zip
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 29b228d9b1a..6d5b746637b 100644
--- a/crypto/testmgr.c
+++ b/crypto/testmgr.c
@@ -2248,6 +2248,15 @@ static const struct alg_test_desc alg_test_descs[] = {
}
}
}, {
+ .alg = "vmac(aes)",
+ .test = alg_test_hash,
+ .suite = {
+ .hash = {
+ .vecs = aes_vmac128_tv_template,
+ .count = VMAC_AES_TEST_VECTORS
+ }
+ }
+ }, {
.alg = "wp256",
.test = alg_test_hash,
.suite = {