Files
lightning/common
Rusty Russell a4c482dc07 common/sphinx: don't use fixed lengths anywhere.
1. Remove the very concept of ONION_REPLY_SIZE, instead make it a
   local variable in create_onionreply().

2. Use the proper fromwire_ primitives in unwrap_onionreply() so we
   don't have to do explicit length checks.

3. Make fromwire_tal_arrn() return NULL if it fails to pull, instead of
   a zero-length allocation.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Changelog-Fixed: Protocol: we now correctly decrypt non-256-length onion errors (we always forwarded them fine, now we actually can parse them).
2022-11-08 17:40:57 +01:00
..
2021-11-14 18:49:46 +01:00
2020-09-23 16:30:36 +09:30
2020-04-04 16:08:49 +10:30
2021-10-10 13:22:29 +02:00
2020-04-04 16:08:49 +10:30
2020-04-04 16:08:49 +10:30
2022-09-19 10:18:55 +09:30
2021-12-30 14:36:55 +10:30
2022-10-26 11:29:06 +10:30
2020-02-05 14:19:12 +01:00
2018-02-08 22:49:34 +01:00
2022-07-15 12:24:00 -05:00
2022-10-26 11:29:06 +10:30
2022-10-26 11:29:06 +10:30
2022-11-02 12:00:11 +01:00
2022-10-26 11:29:06 +10:30
2022-10-26 11:29:06 +10:30
2020-01-23 16:17:42 +10:30
2022-01-20 15:24:06 +10:30
2022-01-20 15:24:06 +10:30
2019-04-16 21:22:13 +00:00
2022-01-20 15:24:06 +10:30
2020-10-20 12:50:31 +10:30
2022-10-26 11:29:06 +10:30
2021-10-15 12:09:36 +02:00
2021-10-15 12:09:36 +02:00