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
commit894b82d8e942b89338281a5a55c236aceb8364d8 (patch)
treef4b428c281472f644bc43abe9cc679bb55cc2c60 /crypto/testmgr.c
parentb25770efba07510642ab4f894411be106e19cd79 (diff)
downloadlinux-crypto-894b82d8e942b89338281a5a55c236aceb8364d8.tar.gz
linux-crypto-894b82d8e942b89338281a5a55c236aceb8364d8.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 29b228d9..6d5b7466 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 = {