Hanno Becker
70d7fb0c2d
Don't hardcode TLS 1.3 labels in test cases
...
ssl_tls1_3_keys.c exports a structure containing all labels used
in the TLS 1.3 key schedule, but the TLS 1.3 key scheduling unit
tests so far replicated those labels in the test file. In particular,
wrong label values in ssl_tls1_3_keys.c wouldn't have been caught
by the unit tests.
This commit modifies the TLS 1.3 key schedule unit tests to use
the TLS 1.3 labels as exported by ssl_tls1_3_keys.c. This not only
makes sure that those labels are correct, but also avoids hardcoding
their hex-encoding in the test file.
Signed-off-by: Hanno Becker <hanno.becker@arm.com>
2020-09-09 10:17:37 +01:00
..
2020-08-31 10:09:57 +02:00
2020-08-21 08:32:26 +02:00
2020-08-19 10:35:41 +02:00
2020-06-26 10:45:16 +02:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2020-06-26 10:45:16 +02:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2020-06-12 14:33:08 +02:00
2019-09-20 15:58:27 +02:00
2020-06-26 10:45:16 +02:00
2020-02-05 15:40:22 +00:00
2020-02-05 15:40:22 +00:00
2019-10-31 19:17:36 +02:00
2019-10-31 19:17:36 +02:00
2019-08-15 15:44:50 +01:00
2020-06-12 14:33:08 +02:00
2019-09-20 15:59:31 +02:00
2020-06-12 14:33:08 +02:00
2019-09-20 15:59:31 +02:00
2020-06-12 14:33:08 +02:00
2019-08-15 15:44:50 +01:00
2020-06-26 10:45:16 +02:00
2019-08-15 15:44:50 +01:00
2020-06-26 10:45:16 +02:00
2019-08-15 15:44:50 +01:00
2020-06-26 10:45:16 +02:00
2020-03-24 13:18:58 -04:00
2019-09-20 15:59:31 +02:00
2019-07-29 17:46:29 +02:00
2019-09-20 15:59:31 +02:00
2020-03-24 13:18:58 -04:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-09-20 15:59:31 +02:00
2020-06-26 10:45:16 +02:00
2020-06-26 22:40:58 +02:00
2019-08-15 15:44:50 +01:00
2019-09-20 16:01:59 +02:00
2019-09-20 15:59:31 +02:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-11-21 13:49:20 +01:00
2020-06-12 14:33:08 +02:00
2020-03-19 14:17:54 +01:00
2020-03-19 14:17:54 +01:00
2019-08-15 15:44:50 +01:00
2020-06-12 14:33:08 +02:00
2019-09-20 15:59:31 +02:00
2020-06-12 14:33:08 +02:00
2019-08-15 15:44:50 +01:00
2020-06-26 10:45:16 +02:00
2020-01-06 11:40:23 +01:00
2020-06-26 10:45:16 +02:00
2019-08-15 15:44:50 +01:00
2020-06-12 14:33:08 +02:00
2020-07-13 11:48:21 +02:00
2020-07-13 11:48:21 +02:00
2019-10-08 15:01:34 +02:00
2020-04-14 21:32:53 +02:00
2015-04-08 13:25:31 +02:00
2018-08-06 11:40:57 +01:00
2019-09-20 15:59:31 +02:00
2019-09-20 15:59:31 +02:00
2019-09-20 15:59:31 +02:00
2019-09-20 15:59:31 +02:00
2019-09-20 15:59:31 +02:00
2019-09-20 15:59:31 +02:00
2019-08-15 15:44:50 +01:00
2020-06-12 14:33:08 +02:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2020-06-26 10:45:16 +02:00
2020-06-12 14:33:08 +02:00
2020-01-06 11:40:23 +01:00
2020-01-06 11:40:23 +01:00
2020-01-06 11:40:23 +01:00
2020-01-06 11:40:23 +01:00
2020-01-06 11:40:23 +01:00
2020-06-12 14:33:08 +02:00
2019-08-15 15:44:50 +01:00
2020-06-12 14:33:08 +02:00
2019-10-31 15:07:35 +01:00
2019-10-31 15:07:45 +01:00
2020-02-06 09:52:01 +01:00
2020-09-02 15:33:45 +02:00
2019-09-20 15:59:31 +02:00
2020-06-26 10:45:16 +02:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2020-07-02 16:59:30 +01:00
2020-07-02 16:59:30 +01:00
2019-08-15 15:44:50 +01:00
2020-06-12 14:33:08 +02:00
2019-09-20 15:58:54 +02:00
2020-06-12 14:33:08 +02:00
2020-01-06 11:40:23 +01:00
2020-06-12 14:33:08 +02:00
2020-02-18 10:31:29 +01:00
2020-02-18 10:18:43 +01:00
2019-11-05 15:32:53 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2020-06-26 10:45:16 +02:00
2018-11-21 16:24:53 +02:00
2020-06-10 16:03:05 +02:00
2020-01-06 11:40:23 +01:00
2020-08-26 10:24:13 +02:00
2019-10-23 19:47:05 +02:00
2020-06-10 16:03:05 +02:00
2020-07-07 09:20:44 +02:00
2020-08-26 12:14:37 +02:00
2020-01-31 10:24:21 +01:00
2020-06-10 16:03:05 +02:00
2020-05-11 11:15:26 +02:00
2020-06-10 16:03:05 +02:00
2020-07-02 16:59:30 +01:00
2020-07-02 16:59:30 +01:00
2020-07-02 16:59:30 +01:00
2020-06-16 14:34:55 +01:00
2020-08-26 00:11:23 +02:00
2020-08-26 13:18:27 +02:00
2019-03-15 11:37:09 +01:00
2020-08-25 22:50:18 +02:00
2020-01-07 10:24:17 +01:00
2020-06-12 14:33:08 +02:00
2020-01-06 11:40:23 +01:00
2020-06-12 14:33:08 +02:00
2020-09-09 10:17:37 +01:00
2020-09-09 10:17:37 +01:00
2019-08-15 15:44:50 +01:00
2019-08-15 15:44:50 +01:00
2020-08-26 16:22:57 +01:00
2020-04-22 16:01:48 +02:00
2020-08-26 14:15:34 +01:00
2020-06-17 17:59:49 +02:00
2020-03-23 17:55:32 +01:00
2020-08-25 10:45:51 +02:00
2019-08-15 15:44:50 +01:00
2020-06-12 14:33:08 +02:00