projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d393d9b
)
crypto: tcrypt - CTR mode speed test for AES
author
Jan Glauber
<jang@linux.vnet.ibm.com>
Tue, 26 Apr 2011 06:34:01 +0000
(16:34 +1000)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Wed, 4 May 2011 05:06:37 +0000
(15:06 +1000)
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>
crypto/tcrypt.c
patch
|
blob
|
blame
|
history
diff --git
a/crypto/tcrypt.c
b/crypto/tcrypt.c
index e912ea5def3d8e69769ceaf97e6bbb8fa8209e15..2222617b3bedc631e28c5599bdbd5a7cef595413 100644
(file)
--- a/
crypto/tcrypt.c
+++ b/
crypto/tcrypt.c
@@
-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: