Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=38ed9ab23b8614c9c1553b2961ef2627f3088fd9
Commit:     38ed9ab23b8614c9c1553b2961ef2627f3088fd9
Parent:     94765b9e4cba8e3c51c292338db16aa174894d30
Author:     Herbert Xu <[EMAIL PROTECTED]>
AuthorDate: Tue Jan 1 15:59:28 2008 +1100
Committer:  Herbert Xu <[EMAIL PROTECTED]>
CommitDate: Fri Jan 11 08:17:01 2008 +1100

    [CRYPTO] tcrypt: Make xcbc available as a standalone test
    
    Currently the gcm(aes) tests have to be taken together with all other
    algorithms.  This patch makes it available by itself at number 106.
    
    Signed-off-by: Herbert Xu <[EMAIL PROTECTED]>
---
 crypto/tcrypt.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 72073ef..1ab8c01 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -1608,11 +1608,17 @@ static void do_test(void)
                test_hash("hmac(sha512)", hmac_sha512_tv_template,
                          HMAC_SHA512_TEST_VECTORS);
                break;
+
        case 105:
                test_hash("hmac(sha224)", hmac_sha224_tv_template,
                          HMAC_SHA224_TEST_VECTORS);
                break;
 
+       case 106:
+               test_hash("xcbc(aes)", aes_xcbc128_tv_template,
+                         XCBC_AES_TEST_VECTORS);
+               break;
+
        case 200:
                test_cipher_speed("ecb(aes)", ENCRYPT, sec, NULL, 0,
                                  aes_speed_template);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to