Skip to content

Commit 7f74979

Browse files
committed
dev: Replace local ChaCha20-Poly1305 with external crate
Integrated the crate across all modules (Router, PeerStorage, Onion Utils, etc.) and removed the deprecated internal implementation. Updated test vectors to align with the new 12-byte nonce construction and ensured SCID encryption remains consistent.
1 parent 44b9529 commit 7f74979

13 files changed

Lines changed: 199 additions & 1350 deletions

lightning/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ lightning-macros = { version = "0.2", path = "../lightning-macros" }
4141
bech32 = { version = "0.11.0", default-features = false }
4242
bitcoin = { version = "0.32.4", default-features = false, features = ["secp-recovery"] }
4343

44+
chacha20-poly1305 = { version = "0.1.2", default-features = false }
4445
dnssec-prover = { version = "0.6", default-features = false }
4546
hashbrown = { version = "0.13", default-features = false }
4647
possiblyrandom = { version = "0.2", path = "../possiblyrandom", default-features = false }

0 commit comments

Comments
 (0)