Move cryptographic algorithms and utilities to a new `crypto` mod
[rust-lightning] / lightning / src / blinded_path / message.rs
index 2631a05f660c4e886a6db37d9e8fa3b6e76f6708..3a5541fa1468272f3859972bca2cdfb4f8053ee8 100644 (file)
@@ -8,7 +8,7 @@ use crate::ln::onion_utils;
 use crate::onion_message::packet::ControlTlvs;
 use crate::prelude::*;
 use crate::sign::{NodeSigner, Recipient};
-use crate::util::chacha20poly1305rfc::ChaChaPolyReadAdapter;
+use crate::crypto::streams::ChaChaPolyReadAdapter;
 use crate::util::ser::{FixedLengthReader, LengthReadableArgs, Writeable, Writer};
 
 use core::mem;