diff options
author | Jussi Kivilinna <jussi.kivilinna@iki.fi> | 2014-06-09 19:59:49 +0200 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2014-06-20 15:27:57 +0200 |
commit | 87131507e1a60c4803d54816b86091490b67ad68 (patch) | |
tree | 341a621a2d154366ed5db2373a32cf1194954289 /crypto/tcrypt.c | |
parent | crypto: caam - remove duplicate FIFOST_CONT_MASK define (diff) | |
download | linux-87131507e1a60c4803d54816b86091490b67ad68.tar.xz linux-87131507e1a60c4803d54816b86091490b67ad68.zip |
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.c | 6 |
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: |