Manuel Pégourié-Gonnard
61336848a9
Fix bug when legacy CID is enabled but not used
...
When legacy CID is enabled at compile time, but not used at runtime, we
would incorrectly skip the sequence number at the beginning of the AAD.
There was already two "else" branches for writing the sequence number
but none of them was taken in that particular case.
Simplify the structure of the code: with TLS 1.2 (we're already in that
branch), we always write the sequence number, unless we're using
standard CID.
Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2022-11-25 11:48:17 +01:00
..
2021-12-18 13:29:10 +05:30
2022-10-19 08:35:08 -04:00
2022-06-29 16:17:50 +01:00
2021-06-28 09:24:07 +01:00
2022-10-25 19:55:29 +02:00
2022-11-07 15:42:44 -05:00
2022-10-25 19:55:29 +02:00
2022-09-15 20:33:07 +02:00
2022-11-02 17:25:48 +00:00
2022-11-02 17:27:25 +00:00
2022-11-11 10:54:58 +00:00
2022-11-11 10:54:58 +00:00
2022-11-02 17:27:25 +00:00
2022-11-02 17:27:25 +00:00
2022-11-02 16:00:01 +01:00
2022-08-18 08:48:03 +01:00
2022-10-13 10:19:22 +02:00
2022-05-18 14:15:33 -04:00
2022-10-13 10:19:22 +02:00
2022-10-13 10:19:22 +02:00
2022-09-14 14:57:51 -04:00
2022-09-15 20:33:07 +02:00
2022-01-03 12:53:24 +01:00
2022-10-13 10:19:22 +02:00
2021-03-02 10:18:08 +01:00
2022-10-13 14:28:15 +01:00
2021-10-28 10:26:13 +08:00
2022-11-09 11:18:38 +01:00
2021-11-26 17:25:14 +01:00
2022-10-19 15:51:19 +02:00
2022-09-15 20:34:10 +02:00
2022-09-15 20:33:07 +02:00
2022-09-15 20:34:10 +02:00
2022-10-13 10:19:22 +02:00
2022-10-07 14:08:42 +01:00
2022-09-15 20:33:07 +02:00
2022-10-13 10:19:22 +02:00
2022-08-23 12:01:39 +01:00
2021-06-28 09:24:07 +01:00
2021-06-03 18:10:04 +02:00
2022-10-31 09:37:26 +00:00
2022-09-15 20:33:07 +02:00
2021-06-28 09:28:33 +01:00
2022-09-15 20:34:10 +02:00
2022-10-13 10:19:22 +02:00
2022-09-16 12:02:48 +02:00
2022-09-06 14:18:39 +02:00
2022-09-15 20:34:10 +02:00
2022-10-13 14:30:03 +01:00
2022-10-13 14:29:38 +01:00
2022-10-13 16:47:13 +01:00
2022-10-19 08:35:09 -04:00
2022-09-15 20:34:10 +02:00
2021-06-28 09:24:07 +01:00
2022-09-15 20:33:07 +02:00
2022-05-11 21:25:51 +01:00
2022-05-18 14:15:33 -04:00
2021-03-29 14:20:18 +01:00
2021-12-10 13:47:55 +01:00
2021-03-29 14:20:18 +01:00
2021-12-10 13:47:55 +01:00
2022-09-15 20:33:07 +02:00
2022-09-15 20:33:07 +02:00
2022-09-15 20:34:10 +02:00
2022-10-13 10:19:22 +02:00
2022-07-05 11:55:15 +01:00
2021-06-28 09:24:07 +01:00
2022-10-13 10:19:22 +02:00
2022-09-15 20:33:07 +02:00
2022-05-04 11:02:37 +02:00
2022-08-31 10:14:25 +01:00
2022-09-15 20:33:07 +02:00
2022-09-06 14:18:45 +02:00
2022-10-13 10:19:22 +02:00
2022-10-13 10:19:22 +02:00
2022-03-01 10:03:21 +01:00
2022-05-12 09:45:03 +01:00
2022-07-01 16:43:25 +01:00
2022-10-13 10:19:22 +02:00
2022-11-02 09:25:38 +00:00
2022-05-11 21:25:51 +01:00
2022-08-02 12:44:35 +02:00
2022-11-02 09:29:50 +00:00
2022-09-15 20:34:15 +02:00
2022-11-02 09:25:38 +00:00
2022-10-06 17:01:58 +02:00
2022-09-15 20:34:15 +02:00
2021-12-06 07:50:27 +01:00
2022-07-18 21:28:38 +02:00
2022-07-18 21:28:38 +02:00
2021-06-28 09:24:07 +01:00
2020-11-25 13:10:50 +01:00
2022-11-02 09:25:38 +00:00
2021-12-06 07:50:27 +01:00
2022-10-13 13:32:02 +02:00
2021-02-16 18:55:05 +01:00
2022-09-15 20:34:15 +02:00
2022-01-10 12:55:06 +01:00
2022-09-15 20:34:15 +02:00
2021-06-28 09:24:07 +01:00
2022-09-15 20:33:07 +02:00
2021-04-01 14:05:41 +02:00
2022-09-15 20:33:07 +02:00
2021-02-15 14:26:44 +01:00
2022-10-14 11:11:01 +02:00
2022-09-15 20:33:07 +02:00
2022-09-15 20:34:10 +02:00
2021-03-10 12:52:37 +00:00
2021-06-28 09:24:07 +01:00
2022-10-13 10:19:22 +02:00
2022-10-13 10:19:22 +02:00
2022-10-25 19:55:29 +02:00
2022-10-25 19:55:29 +02:00
2022-09-15 20:33:07 +02:00
2022-10-13 10:19:22 +02:00
2022-11-09 22:43:31 +08:00
2022-06-20 21:12:55 +02:00
2022-10-19 08:35:09 -04:00
2022-11-09 22:43:31 +08:00
2022-11-08 23:51:38 +08:00
2022-11-25 11:48:17 +01:00
2022-09-29 15:29:18 +02:00
2022-11-14 17:43:15 +00:00
2022-11-14 17:43:15 +00:00
2022-11-09 22:43:31 +08:00
2022-11-09 22:43:31 +08:00
2022-07-11 10:22:37 +02:00
2022-10-22 14:42:04 +02:00
2022-10-22 14:42:04 +02:00
2022-11-09 22:43:31 +08:00
2022-11-11 19:00:46 +00:00
2022-03-29 17:43:56 +02:00
2022-04-08 04:41:42 -04:00
2022-10-28 12:51:35 -04:00
2022-11-08 17:11:07 +01:00
2022-10-28 12:51:35 -04:00
2022-10-28 12:51:35 -04:00
2022-10-31 13:27:49 +00:00
2022-09-15 20:33:07 +02:00