summaryrefslogtreecommitdiffstats
path: root/crypto/tcrypt.c
diff options
context:
space:
mode:
authorShane Wang <shane.wang@intel.com>2009-09-02 12:05:22 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2009-09-02 12:05:22 +0200
commitf1939f7c56456d22a559d2c75156e91912a2e97e (patch)
tree49b16096a65ccb318777b50e15e3ed2c66db0500 /crypto/tcrypt.c
parentcrypto: api - Do not displace newly registered algorithms (diff)
downloadlinux-f1939f7c56456d22a559d2c75156e91912a2e97e.tar.xz
linux-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/tcrypt.c')
-rw-r--r--crypto/tcrypt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 5a375e819d5d..aa3f84ccc786 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -719,6 +719,10 @@ static int do_test(int m)
ret += tcrypt_test("hmac(rmd160)");
break;
+ case 109:
+ ret += tcrypt_test("vmac(aes)");
+ break;
+
case 150:
ret += tcrypt_test("ansi_cprng");
break;