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
..
2022-10-19 08:35:08 -04:00
2021-06-28 09:24:07 +01:00
2022-11-02 17:25:48 +00:00
2022-11-02 17:27:25 +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-10-13 14:28:15 +01:00
2022-10-07 14:08:42 +01:00
2022-09-16 12:02:48 +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
2021-06-28 09:24:07 +01:00
2021-03-29 14:20:18 +01:00
2021-03-29 14:20:18 +01:00
2021-06-28 09:24:07 +01:00
2022-08-31 10:14:25 +01:00
2022-05-12 09:45:03 +01:00
2022-07-01 16:43:25 +01:00
2020-11-25 13:10:50 +01:00
2022-10-13 13:32:02 +02:00
2022-11-09 22:43:31 +08:00
2022-10-19 08:35:09 -04:00
2022-11-09 22:43:31 +08:00
2022-11-09 22:43:31 +08:00
2022-11-09 22:43:31 +08:00
2022-11-09 22:43:31 +08:00
2022-03-29 17:43:56 +02:00
2022-10-28 12:51:35 -04:00
2022-10-28 12:51:35 -04:00
2022-10-28 12:51:35 -04:00