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

Commit 131f7541 authored by Jussi Kivilinna's avatar Jussi Kivilinna Committed by Herbert Xu
Browse files

crypto: tcrypt - add xts(twofish) tests

parent aed265b9
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -991,6 +991,7 @@ static int do_test(int m)
		ret += tcrypt_test("cbc(twofish)");
		ret += tcrypt_test("ctr(twofish)");
		ret += tcrypt_test("lrw(twofish)");
		ret += tcrypt_test("xts(twofish)");
		break;

	case 9:
@@ -1255,6 +1256,10 @@ static int do_test(int m)
				speed_template_32_40_48);
		test_cipher_speed("lrw(twofish)", DECRYPT, sec, NULL, 0,
				speed_template_32_40_48);
		test_cipher_speed("xts(twofish)", ENCRYPT, sec, NULL, 0,
				speed_template_32_48_64);
		test_cipher_speed("xts(twofish)", DECRYPT, sec, NULL, 0,
				speed_template_32_48_64);
		break;

	case 203: