summaryrefslogtreecommitdiffstats
path: root/crypto/tcrypt.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2011-09-02 00:45:17 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2011-09-22 13:25:26 +0200
commit7d47b86cfef808c6580b7603c3f17fcaf27e9d14 (patch)
tree69295607f1e4aec43d1500476927bb438113ece2 /crypto/tcrypt.c
parentcrypto: blowfish - rename C-version to blowfish_generic (diff)
downloadlinux-7d47b86cfef808c6580b7603c3f17fcaf27e9d14.tar.xz
linux-7d47b86cfef808c6580b7603c3f17fcaf27e9d14.zip
crypto: tcrypt - add ctr(blowfish) speed test
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>
Diffstat (limited to 'crypto/tcrypt.c')
-rw-r--r--crypto/tcrypt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 2222617b3bed..e353a28b0b17 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -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: