Commit 9996e3421cae20a17c99881b2ac0f7562f760e04
Committed by
Herbert Xu
1 parent
d393d9b8ca
Exists in
master
and in
4 other branches
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>
Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff
crypto/tcrypt.c
... | ... | @@ -1009,6 +1009,10 @@ |
1009 | 1009 | speed_template_32_48_64); |
1010 | 1010 | test_cipher_speed("xts(aes)", DECRYPT, sec, NULL, 0, |
1011 | 1011 | speed_template_32_48_64); |
1012 | + test_cipher_speed("ctr(aes)", ENCRYPT, sec, NULL, 0, | |
1013 | + speed_template_16_24_32); | |
1014 | + test_cipher_speed("ctr(aes)", DECRYPT, sec, NULL, 0, | |
1015 | + speed_template_16_24_32); | |
1012 | 1016 | break; |
1013 | 1017 | |
1014 | 1018 | case 201: |