summaryrefslogtreecommitdiff
path: root/crypto/tcrypt.c
diff options
context:
space:
mode:
authorKazunori MIYAZAWA <miyazawa@linux-ipv6.org>2006-10-28 13:18:53 +1000
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-06 18:38:50 -0800
commit2681edbdcd9c24e3809fa06bdae474bcc9d183fa (patch)
tree28b963fe564c3a40aa2d4f0d6e8879f06d429ce5 /crypto/tcrypt.c
parent9991fbf954275ea3f2f804510cb2109487ca2038 (diff)
downloadlinux-crypto-2681edbdcd9c24e3809fa06bdae474bcc9d183fa.tar.gz
linux-crypto-2681edbdcd9c24e3809fa06bdae474bcc9d183fa.zip
[CRYPTO] tcrypt: Add test vectors of AES_XCBC
est vectors of XCBC with AES-128. Signed-off-by: Kazunori MIYAZAWA <miyazawa@linux-ipv6.org> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/tcrypt.c')
-rw-r--r--crypto/tcrypt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 83307420..d1a5f2b8 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -977,6 +977,9 @@ static void do_test(void)
test_hash("hmac(sha256)", hmac_sha256_tv_template,
HMAC_SHA256_TEST_VECTORS);
+ test_hash("xcbc(aes)", aes_xcbc128_tv_template,
+ XCBC_AES_TEST_VECTORS);
+
test_hash("michael_mic", michael_mic_tv_template, MICHAEL_MIC_TEST_VECTORS);
break;