crypto: tcrypt - CTR mode speed test for AES

Add the CTR mode speed test for AES.

Signed-off-by: Jan Glauber <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
This commit is contained in:
Jan Glauber 2011-04-26 16:34:01 +10:00 • committed by Herbert Xu
commit 9996e3421c

View file

@ -1009,6 +1009,10 @@ static int do_test(int m)
speed_template_32_48_64);
test_cipher_speed("xts(aes)", DECRYPT, sec, NULL, 0,
speed_template_32_48_64);
test_cipher_speed("ctr(aes)", ENCRYPT, sec, NULL, 0,
speed_template_16_24_32);
test_cipher_speed("ctr(aes)", DECRYPT, sec, NULL, 0,
speed_template_16_24_32);
break;
case 201: