From: Jussi Kivilinna Date: Mon, 26 Sep 2011 13:47:15 +0000 (+0300) Subject: crypto: tcrypt - add ctr(twofish) speed test X-Git-Tag: v3.2-rc1~105^2~29 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ee5002a5497f3219b4144b5370203ed6e43f7269;p=thirdparty%2Fkernel%2Flinux.git crypto: tcrypt - add ctr(twofish) speed test Signed-off-by: Jussi Kivilinna Signed-off-by: Herbert Xu --- diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c index e353a28b0b176..fc35650645e8a 100644 --- a/crypto/tcrypt.c +++ b/crypto/tcrypt.c @@ -1039,6 +1039,10 @@ static int do_test(int m) speed_template_16_24_32); test_cipher_speed("cbc(twofish)", DECRYPT, sec, NULL, 0, speed_template_16_24_32); + test_cipher_speed("ctr(twofish)", ENCRYPT, sec, NULL, 0, + speed_template_16_24_32); + test_cipher_speed("ctr(twofish)", DECRYPT, sec, NULL, 0, + speed_template_16_24_32); break; case 203: