]> git.karo-electronics.de Git - linux-beck.git/commitdiff
crypto: tcrypt - add ctr(blowfish) speed test
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>
Thu, 1 Sep 2011 22:45:17 +0000 (01:45 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Thu, 22 Sep 2011 11:25:26 +0000 (21:25 +1000)
Add ctr(blowfish) speed test to receive results for blowfish x86_64 assembly
patch.

Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c

index 2222617b3bedc631e28c5599bdbd5a7cef595413..e353a28b0b1762f2a06308f349e82b6c60ba5c69 100644 (file)
@@ -1050,6 +1050,10 @@ static int do_test(int m)
                                  speed_template_8_32);
                test_cipher_speed("cbc(blowfish)", DECRYPT, sec, NULL, 0,
                                  speed_template_8_32);
+               test_cipher_speed("ctr(blowfish)", ENCRYPT, sec, NULL, 0,
+                                 speed_template_8_32);
+               test_cipher_speed("ctr(blowfish)", DECRYPT, sec, NULL, 0,
+                                 speed_template_8_32);
                break;
 
        case 204: