projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d691af0
)
crypto: testmgr - add ecb(arc4) speed tests
author
Jussi Kivilinna
<jussi.kivilinna@mbnet.fi>
Tue, 12 Jun 2012 08:52:04 +0000
(16:52 +0800)
committer
Herbert Xu
<herbert@gondor.apana.org.au>
Thu, 14 Jun 2012 02:07:20 +0000
(10:07 +0800)
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 2af879786e7585606a9ffdf99d8674056acdb4fc..58ad4fe5d2087ad308c53dcf5beaf74fbaaf7b11 100644
(file)
--- a/
crypto/tcrypt.c
+++ b/
crypto/tcrypt.c
@@
-1342,6
+1342,11
@@
static int do_test(int m)
speed_template_32_64);
break;
+ case 208:
+ test_cipher_speed("ecb(arc4)", ENCRYPT, sec, NULL, 0,
+ speed_template_8);
+ break;
+
case 300:
/* fall through */
@@
-1589,6
+1594,11
@@
static int do_test(int m)
speed_template_32_48_64);
break;
+ case 505:
+ test_acipher_speed("ecb(arc4)", ENCRYPT, sec, NULL, 0,
+ speed_template_8);
+ break;
+
case 1000:
test_available();
break;