projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a071d06
)
crypto: tcrypt - add ctr(twofish) speed test
author
Jussi Kivilinna
<jussi.kivilinna@mbnet.fi>
Mon, 26 Sep 2011 13:47:15 +0000
(16:47 +0300)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Fri, 21 Oct 2011 12:23:08 +0000
(14:23 +0200)
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi>
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 e353a28b0b1762f2a06308f349e82b6c60ba5c69..fc35650645e8a9cb6c27204959276086b18ee283 100644
(file)
--- 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: