crypto: tcrypt - add ctr(des3_ede) sync speed test
authorJussi Kivilinna <jussi.kivilinna@iki.fi>
Mon, 9 Jun 2014 17:59:49 +0000 (20:59 +0300)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 20 Jun 2014 13:27:57 +0000 (21:27 +0800)
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
crypto/tcrypt.c

index ba247cf30858e3d98dabdbb89063543ccb0dbdcd..164ec0e16756032801b32022f013aaadc06b94fb 100644 (file)
@@ -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: