summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2011-09-02 01:45:17 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2011-09-22 21:25:26 +1000
commit484b237510f28b5b83c15ab18dab57922f2b849f (patch)
tree8c9b9fe7165f5ce47bd45fcb64ad14ffcdfce03a /crypto
parent54d07e61eeb489cd5522a54383336a485ef2aa07 (diff)
downloadlinux-crypto-484b237510f28b5b83c15ab18dab57922f2b849f.tar.gz
linux-crypto-484b237510f28b5b83c15ab18dab57922f2b849f.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')
-rw-r--r--crypto/tcrypt.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 2222617b..e353a28b 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: