aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/tcrypt.c
diff options
context:
space:
mode:
authorJussi Kivilinna <jussi.kivilinna@mbnet.fi>2012-06-12 04:52:04 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2012-06-13 22:07:20 -0400
commit31b4cd2907322bd56e4090168e4ce8f8dcd17820 (patch)
treef89d30582c160ae91ef177f927c8cc8c59e6e8c5 /crypto/tcrypt.c
parentd691af000274ae9658695c2a63a76b30890a8983 (diff)
crypto: testmgr - add ecb(arc4) speed tests
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@mbnet.fi> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/tcrypt.c')
-rw-r--r--crypto/tcrypt.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/crypto/tcrypt.c b/crypto/tcrypt.c
index 2af879786e75..58ad4fe5d208 100644
--- a/crypto/tcrypt.c
+++ b/crypto/tcrypt.c
@@ -1342,6 +1342,11 @@ static int do_test(int m)
1342 speed_template_32_64); 1342 speed_template_32_64);
1343 break; 1343 break;
1344 1344
1345 case 208:
1346 test_cipher_speed("ecb(arc4)", ENCRYPT, sec, NULL, 0,
1347 speed_template_8);
1348 break;
1349
1345 case 300: 1350 case 300:
1346 /* fall through */ 1351 /* fall through */
1347 1352
@@ -1589,6 +1594,11 @@ static int do_test(int m)
1589 speed_template_32_48_64); 1594 speed_template_32_48_64);
1590 break; 1595 break;
1591 1596
1597 case 505:
1598 test_acipher_speed("ecb(arc4)", ENCRYPT, sec, NULL, 0,
1599 speed_template_8);
1600 break;
1601
1592 case 1000: 1602 case 1000:
1593 test_available(); 1603 test_available();
1594 break; 1604 break;