aports/main/bluez/test-mesh-crypto.patch

62 lines
1.6 KiB
Diff
Raw Permalink Normal View History

2021-02-24 16:44:08 +00:00
Requires kernel option that might not be enabled on the builder
https://bugzilla.kernel.org/show_bug.cgi?id=206815
diff --git a/unit/test-mesh-crypto.c b/unit/test-mesh-crypto.c
--- a/unit/test-mesh-crypto.c
+++ b/unit/test-mesh-crypto.c
@@ -2137,55 +2137,5 @@
{
l_log_set_stderr();
2021-02-24 16:44:08 +00:00
- /* Section 8.1 Sample Data Tests */
- check_s1(&s8_1_1);
- check_k1(&s8_1_2);
- check_k2(&s8_1_3);
- check_k2(&s8_1_4);
- check_k3(&s8_1_5);
- check_k4(&s8_1_6);
-
- /* Section 8.2 Sample Data Tests */
- check_k4(&s8_2_1);
- check_k2(&s8_2_2);
- check_k2(&s8_2_3);
- check_k3(&s8_2_4);
- check_k128(&s8_2_5);
- check_k128(&s8_2_6);
-
- /* Section 8.3 Sample Data Tests */
- check_encrypt(&s8_3_1);
- check_decrypt(&s8_3_1);
- check_encrypt(&s8_3_2);
- check_decrypt(&s8_3_2);
- check_encrypt(&s8_3_3);
- check_decrypt(&s8_3_3);
- check_encrypt(&s8_3_4);
- check_decrypt(&s8_3_4);
- check_encrypt(&s8_3_5);
- check_decrypt(&s8_3_5);
- check_encrypt(&s8_3_6);
- check_decrypt(&s8_3_6);
- check_encrypt(&s8_3_7);
- check_decrypt(&s8_3_7);
- check_encrypt(&s8_3_8); /* Single segment tester unavailable */
- check_decrypt(&s8_3_8); /* Single segment tester unavailable */
- check_encrypt(&s8_3_9);
- check_decrypt(&s8_3_9);
- check_encrypt(&s8_3_10);
- check_decrypt(&s8_3_10);
- check_encrypt(&s8_3_11); /* Single segment tester unavailable */
- check_decrypt(&s8_3_11); /* Single segment tester unavailable */
- check_encrypt(&s8_3_22);
- check_decrypt(&s8_3_22);
-
- /* Section 8.4 Beacon Sample Data */
- check_beacon(&s8_4_3);
- check_beacon(&s8_4_6_1);
- check_beacon(&s8_4_6_2);
-
- /* Section 8.6 Mesh Proxy Service sample data */
- check_id_beacon(&s8_6_2);
-
return 0;
}