summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@iki.fi>2014-06-09 21:59:49 +0400
committerHerbert Xu <herbert@gondor.apana.org.au>2014-06-20 17:27:57 +0400
commit87131507e1a60c4803d54816b86091490b67ad68 (patch)
tree341a621a2d154366ed5db2373a32cf1194954289
parentbe513f44321f83b01716767550a2a79d2fbe2528 (diff)
downloadlinux-87131507e1a60c4803d54816b86091490b67ad68.tar.xz
crypto: tcrypt - add ctr(des3_ede) sync speed test
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r--crypto/tcrypt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index ba247cf30858..164ec0e16756 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -1585,6 +1585,12 @@ static int do_test(int m)
test_cipher_speed("cbc(des3_ede)", DECRYPT, sec,
des3_speed_template, DES3_SPEED_VECTORS,
speed_template_24);
+ test_cipher_speed("ctr(des3_ede)", ENCRYPT, sec,
+ des3_speed_template, DES3_SPEED_VECTORS,
+ speed_template_24);
+ test_cipher_speed("ctr(des3_ede)", DECRYPT, sec,
+ des3_speed_template, DES3_SPEED_VECTORS,
+ speed_template_24);
break;
case 202: