Pieter Wuille
9bde93df2c
net: do not use send buffer to store/cache garbage
...
Before this commit the V2Transport::m_send_buffer is used to store the
garbage:
* During MAYBE_V1 state, it's there despite not being sent.
* During AWAITING_KEY state, while it is being sent.
* At the end of the AWAITING_KEY state it cannot be wiped as it's still
needed to compute the garbage authentication packet.
Change this by introducing a separate m_send_garbage field, taking over
the first and last role listed above. This means the garbage is only in
the send buffer when it's actually being sent, removing a few special
cases related to this.
2023-09-10 16:12:27 -04:00
..
2023-09-05 10:13:25 +02:00
2022-12-24 23:49:50 +00:00
2023-09-05 10:13:25 +02:00
2021-12-30 19:36:57 +02:00
2022-04-20 14:35:52 +01:00
2022-12-24 23:49:50 +00:00
2023-07-13 20:37:14 +02:00
2023-01-13 09:40:57 +00:00
2021-12-30 19:36:57 +02:00
2023-09-06 13:59:12 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2021-12-30 19:36:57 +02:00
2023-05-05 06:03:17 -06:00
2022-12-24 23:49:50 +00:00
2023-03-21 13:04:21 +00:00
2023-08-11 18:11:07 +02:00
2023-02-03 10:33:31 -05:00
2023-07-22 13:42:17 -03:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2023-08-17 15:31:56 -04:00
2023-08-17 15:31:27 -04:00
2021-12-30 19:36:57 +02:00
2023-08-17 15:31:56 -04:00
2023-07-17 13:27:46 +02:00
2021-12-30 19:36:57 +02:00
2023-08-25 12:40:12 +02:00
2023-09-05 10:13:25 +02:00
2022-12-13 15:08:24 -05:00
2021-12-30 19:36:57 +02:00
2021-12-30 19:36:57 +02:00
2023-03-21 13:54:11 +01:00
2021-12-30 19:36:57 +02:00
2023-07-13 20:37:05 +02:00
2023-07-13 20:37:14 +02:00
2023-07-17 09:39:52 +02:00
2023-07-17 13:27:46 +02:00
2023-07-13 20:37:14 +02:00
2023-01-13 09:40:57 +00:00
2023-02-17 13:34:40 -05:00
2023-07-13 20:37:14 +02:00
2023-08-14 17:38:27 -04:00
2023-07-13 20:37:14 +02:00
2023-09-06 13:59:12 +02:00
2023-07-31 16:18:20 -04:00
2021-12-30 19:36:57 +02:00
2023-09-06 13:59:12 +02:00
2023-07-13 20:37:14 +02:00
2023-08-25 11:56:09 +02:00
2022-01-06 22:14:16 -05:00
2021-12-30 19:36:57 +02:00
2022-12-24 23:49:50 +00:00
2023-09-05 10:13:25 +02:00
2023-06-05 11:02:47 -04:00
2023-05-26 13:41:07 -03:00
2022-12-24 23:49:50 +00:00
2023-09-10 16:12:27 -04:00
2023-04-04 18:33:08 +02:00
2021-12-30 19:36:57 +02:00
2023-07-27 09:36:05 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-03-23 19:38:38 +01:00
2023-07-13 20:37:14 +02:00
2023-01-26 10:44:05 +01:00
2023-08-18 12:52:30 -04:00
2023-08-23 20:13:49 -04:00
2023-01-13 09:40:57 +00:00
2023-07-13 20:37:14 +02:00
2023-09-06 13:59:12 +02:00
2023-07-13 20:37:05 +02:00
2021-12-30 19:36:57 +02:00
2022-12-13 15:08:24 -05:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-09-07 11:34:34 +01:00
2023-08-14 17:39:49 -04:00
2022-12-13 15:08:24 -05:00
2023-01-13 09:40:57 +00:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-06-09 14:58:49 -04:00
2023-07-13 20:37:14 +02:00
2021-12-30 19:36:57 +02:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2023-01-26 10:44:05 +01:00
2023-01-26 10:44:05 +01:00
2023-07-13 20:37:14 +02:00
2023-07-13 20:37:14 +02:00
2021-12-30 19:36:57 +02:00
2023-09-07 16:22:16 +01:00
2023-09-07 11:34:34 +01:00
2023-07-13 20:37:14 +02:00
2023-06-03 15:37:11 +02:00
2023-08-07 11:32:34 +02:00
2023-07-13 20:37:14 +02:00