Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 31b4cd29 authored by Jussi Kivilinna's avatar Jussi Kivilinna Committed by Herbert Xu
Browse files

crypto: testmgr - add ecb(arc4) speed tests

parent d691af00
Loading
Loading
Loading
Loading
+10 −0
Original line number Original line Diff line number Diff line
@@ -1342,6 +1342,11 @@ static int do_test(int m)
				  speed_template_32_64);
				  speed_template_32_64);
		break;
		break;


	case 208:
		test_cipher_speed("ecb(arc4)", ENCRYPT, sec, NULL, 0,
				  speed_template_8);
		break;

	case 300:
	case 300:
		/* fall through */
		/* fall through */


@@ -1589,6 +1594,11 @@ static int do_test(int m)
				   speed_template_32_48_64);
				   speed_template_32_48_64);
		break;
		break;


	case 505:
		test_acipher_speed("ecb(arc4)", ENCRYPT, sec, NULL, 0,
				   speed_template_8);
		break;

	case 1000:
	case 1000:
		test_available();
		test_available();
		break;
		break;