78 Commits (99a621dd99dfb709378089de3e51f5015ab550ec)

Author SHA1 Message Date
Rusty Russell 0203477815 common/sphinx: remove assertion that onions we parse must be 1366 bytes. 4 years ago
Rusty Russell 32c7c133f4 common/sphinx: make onionpacket.routinginfo a dynamic member. 4 years ago
Rusty Russell 3776af4a35 common/sphinx: make TOTAL_PACKET_SIZE a macro. 4 years ago
Rusty Russell dc67b60e28 common/sphinx: eliminate temporary buffer for prefill. 4 years ago
Rusty Russell b5ab7e3ce3 common/sphinx: don't use temporary to xor in cipher stream. 4 years ago
Rusty Russell 0701f74878 common/sphinx: don't make copy to compute packet hmac. 4 years ago
Rusty Russell 8150d28575 Makefile: use generic rules to make spec-derived sources. 4 years ago
Rusty Russell 007daf6b9f doc: update bolt version 4 years ago
Rusty Russell 8c984fbf1d common: make sphinx.c use hmac.c. 5 years ago
Rusty Russell c66b3d4c04 common: make sphinx use struct secret internally. 5 years ago
Rusty Russell 24984ec680 common/sphinx: add realm flag so we can avoid legacy parsing. 5 years ago
Christian Decker 37105497f0 sphinx: Use fromwire_tal_arrn() to deserialize compressed onions 5 years ago
Christian Decker ef86ee0bae sphinx: Migrate sphinx compression to new interface 5 years ago
Christian Decker 6dd14a2039 sphinx: Kill read_buffer with fire 🔥 5 years ago
Christian Decker e79cda8c9a sphinx: Treat compressed onions as a standalone struct 5 years ago
Christian Decker fd37c5b672 sphinx: Expose the shared secret creation function 5 years ago
Christian Decker 49a3321d7e sphinx: Add functions to decompress 5 years ago
Christian Decker 59b6159e56 sphinx: Functions to enable RV mode and serialize compressed onions 5 years ago
Christian Decker 96dc0238ba sphinx: Working onion wrapping with filler cancellation 5 years ago
Rusty Russell c51c6f9133 sphinx: use crypto_stream_chacha20_xor to generate stream and xor at once. 5 years ago
Rusty Russell 2aad3ffcf8 common: tal_dup_talarr() helper. 5 years ago
Rusty Russell c11212bb52 pytest: test that we handle WIRE_UPDATE_FAIL_MALFORMED_HTLC correctly. 5 years ago
Christian Decker 9038364c63 sphinx: Actually use the pad stream to generate the packet 5 years ago
Rusty Russell 262e4c840f sphinx: use struct secret for shared secret. 5 years ago
Rusty Russell 1099f6a5e1 common: use struct onionreply. 5 years ago
Rusty Russell aae5148206 common: remove onionreply type from sphinx.c 5 years ago
Christian Decker 5e44895264 sphinx: Check the payload size at construction and in createonion 5 years ago
Christian Decker dff0a13bd1 sphinx: Make payload size computation publicly available 5 years ago
Rusty Russell 839909d2cf Protocol: make var_onion, payment_secret and basic_mpp non-EXPERIMENTAL. 5 years ago
Christian Decker ff5f7b194f sphinx: Return the error in parse_onionpacket 5 years ago
Rusty Russell f7ebbb2ec5 common: make sphinx code ignorant of payload format. 5 years ago
Rusty Russell bb538a1862 common: don't crash on bad sphinx payload. 5 years ago
Christian Decker 626675c83c tlv: Migrate tlv serialization to typesafe function 5 years ago
Christian Decker f569b52681 sphinx: Make the sphinx_hop struct public 5 years ago
Christian Decker 714b57241b sphinx: Promote TLV payloads to be non-experimental 5 years ago
Rusty Russell ebac3d2a85 spec: update to experimental BOLTs with secret/total_amount. 5 years ago
Christian Decker e46f423ae9 sphinx: Cleanup route_step_decode_* functions 5 years ago
Christian Decker baffa84291 sphinx: Decode payload and place shortcuts in the route-step 5 years ago
Christian Decker d69a43780c sphinx: Use the new `fromwire_tlv_payload` function 5 years ago
lisa neigut ea9faf6ff1 onion fixup: use enum for type, not length of packet 5 years ago
Christian Decker dda792c766 plugin: Pass the full raw_payload including realm to htlc_accepted 5 years ago
Rusty Russell 9dc8cff9b4 devtools/onion: use raw sphinx helper or new style, allow TLV. 5 years ago
Rusty Russell 0211712f5e sphinx: separate nonfinal from final interface, add tlv option. 5 years ago
Rusty Russell 2a2259083a lightningd: handle tlv-style payloads. 5 years ago
Rusty Russell b7bbccd6fa common/sphinx: handle decoding of TLV payload. 5 years ago
Rusty Russell a76518a029 common/sphinx: rename hop_data to hop_data_legacy. 5 years ago
Rusty Russell c62f0cb6ff sphinx: fix potential data leak. 5 years ago
Rusty Russell 3fa375881a bigsize: make it a proper first-class type. 5 years ago
Rusty Russell e23f183468 common/sphinx: use bigsize_get not varint_get. 5 years ago
Chirimen-Jako b7119150a7 Fix build fail on 32bit environment. 5 years ago