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
commit5b2becf5dc8ebb760b0d1653604831dc0582a121 (patch)
treef05eef410e8d2b713c6e52f8a599692e8da73266 /crypto/tcrypt.c
parent333b0d7eeacbd47159daf23757aa81368470c409 (diff)
downloadlwn-5b2becf5dc8ebb760b0d1653604831dc0582a121.tar.gz
lwn-5b2becf5dc8ebb760b0d1653604831dc0582a121.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 83307420d31c..d1a5f2b8647a 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;