summaryrefslogtreecommitdiffstats
path: root/crypto/tcrypt.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@iki.fi>2014-06-09 20:59:49 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2014-06-20 21:27:57 +0800
commit87131507e1a60c4803d54816b86091490b67ad68 (patch)
tree341a621a2d154366ed5db2373a32cf1194954289 /crypto/tcrypt.c
parentbe513f44321f83b01716767550a2a79d2fbe2528 (diff)
downloadop-kernel-dev-87131507e1a60c4803d54816b86091490b67ad68.zip
op-kernel-dev-87131507e1a60c4803d54816b86091490b67ad68.tar.gz
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>
Diffstat (limited to 'crypto/tcrypt.c')
-rw-r--r--crypto/tcrypt.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index ba247cf..164ec0e 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:
OpenPOWER on IntegriCloud