Commit 90e73da
committed
Replaces local ChaCha20-Poly1305 with external crate
Migrates ChaCha20-Poly1305 encryption from the local crypto
module to rust-bitcoin's `chacha20-poly1305` 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 ec03159 commit 90e73da
13 files changed
Lines changed: 184 additions & 1347 deletions
File tree
- lightning
- src
- crypto
- ln
- routing
- sign
- util
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
0 commit comments