Skip to content

Commit

Permalink
crypto: testmgr - add ecb(arc4) speed tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jussi Kivilinna <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
jkivilin authored and herbertx committed Jun 14, 2012
1 parent d691af0 commit 31b4cd2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions crypto/tcrypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 */

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 31b4cd2

Please sign in to comment.