History

crypto: testmgr - add ecb(arc4) speed tests

Jussi Kivilinna committed 14 years ago

Commit 31b4cd21 parent d691af01 file · +10 −0Browse files

Unified · Split

crypto/tcrypt.c+10−0
@@ -1342,6 +1342,11 @@ static int do_test(int m) · 1341 unmodified lines
13421342 speed_template_32_64);
13431343 break;
13441344
1345+ case 208:
1346+ test_cipher_speed("ecb(arc4)", ENCRYPT, sec, NULL, 0,
1347+ speed_template_8);
1348+ break;
1349+
13451350 case 300:
13461351 /* fall through */
13471352
@@ -1589,6 +1594,11 @@ static int do_test(int m) · 241 unmodified lines
15891594 speed_template_32_48_64);
15901595 break;
15911596
1597+ case 505:
1598+ test_acipher_speed("ecb(arc4)", ENCRYPT, sec, NULL, 0,
1599+ speed_template_8);
1600+ break;
1601+
15921602 case 1000:
15931603 test_available();
15941604 break;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t