]> git.bitcoin.ninja Git - rust-lightning/commit
Drop `lightning`-specific code in `lightning::crypto`
authorMatt Corallo <git@bluematt.me>
Wed, 2 Oct 2024 19:05:29 +0000 (19:05 +0000)
committerMatt Corallo <git@bluematt.me>
Wed, 2 Oct 2024 19:07:25 +0000 (19:07 +0000)
commit150067fa680bb10deaea7f531c93ef62d0ddba80
treedb7cd381fb16c5445d992d30744e422d8d55871a
parentd49a08a824810515340176ffa7df715236dade7d
Drop `lightning`-specific code in `lightning::crypto`

In a few commits, we'll reuse the `chacha20.rs` and `poly1305.rs`
files in a new crate (via symlink). In order to do so, we need to
first avoid any references to things in the `lightning` crate,
which we do here by dropping references to `crate::prelude`.
lightning/src/crypto/chacha20.rs
lightning/src/crypto/poly1305.rs