mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
crypto: tcrypt - CTR mode speed test for AES
Add the CTR mode speed test for AES. Signed-off-by: Jan Glauber <jang@linux.vnet.ibm.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
d393d9b8ca
commit
9996e3421c
@ -1009,6 +1009,10 @@ static int do_test(int m)
|
|||||||
speed_template_32_48_64);
|
speed_template_32_48_64);
|
||||||
test_cipher_speed("xts(aes)", DECRYPT, sec, NULL, 0,
|
test_cipher_speed("xts(aes)", DECRYPT, sec, NULL, 0,
|
||||||
speed_template_32_48_64);
|
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;
|
break;
|
||||||
|
|
||||||
case 201:
|
case 201:
|
||||||
|
Loading…
Reference in New Issue
Block a user