diff options
author | Shane Wang <shane.wang@intel.com> | 2009-09-02 06:05:22 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2009-09-02 06:05:22 -0400 |
commit | f1939f7c56456d22a559d2c75156e91912a2e97e (patch) | |
tree | 49b16096a65ccb318777b50e15e3ed2c66db0500 /crypto/tcrypt.c | |
parent | 2bf2901669a564b402cd0e40eb3f941c391e64c4 (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/tcrypt.c')
-rw-r--r-- | crypto/tcrypt.c | 4 |
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) | |||
719 | ret += tcrypt_test("hmac(rmd160)"); | 719 | ret += tcrypt_test("hmac(rmd160)"); |
720 | break; | 720 | break; |
721 | 721 | ||
722 | case 109: | ||
723 | ret += tcrypt_test("vmac(aes)"); | ||
724 | break; | ||
725 | |||
722 | case 150: | 726 | case 150: |
723 | ret += tcrypt_test("ansi_cprng"); | 727 | ret += tcrypt_test("ansi_cprng"); |
724 | break; | 728 | break; |