diff options
author | Kazunori MIYAZAWA <miyazawa@linux-ipv6.org> | 2006-10-27 23:18:53 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-12-06 21:38:50 -0500 |
commit | 5b2becf5dc8ebb760b0d1653604831dc0582a121 (patch) | |
tree | f05eef410e8d2b713c6e52f8a599692e8da73266 /crypto/tcrypt.c | |
parent | 333b0d7eeacbd47159daf23757aa81368470c409 (diff) |
[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.c | 3 |
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) | |||
977 | test_hash("hmac(sha256)", hmac_sha256_tv_template, | 977 | test_hash("hmac(sha256)", hmac_sha256_tv_template, |
978 | HMAC_SHA256_TEST_VECTORS); | 978 | HMAC_SHA256_TEST_VECTORS); |
979 | 979 | ||
980 | test_hash("xcbc(aes)", aes_xcbc128_tv_template, | ||
981 | XCBC_AES_TEST_VECTORS); | ||
982 | |||
980 | test_hash("michael_mic", michael_mic_tv_template, MICHAEL_MIC_TEST_VECTORS); | 983 | test_hash("michael_mic", michael_mic_tv_template, MICHAEL_MIC_TEST_VECTORS); |
981 | break; | 984 | break; |
982 | 985 | ||