projects
/
rust-lightning
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Steal rust-crypto's Poly1305 implementation wholesale
[rust-lightning]
/
src
/
util
/
mod.rs
diff --git
a/src/util/mod.rs
b/src/util/mod.rs
index a39d288488d0a18e984296e106e358dedbab82cf..1a6eb80493404e88a591005d17d1f2480118f7b4 100644
(file)
--- a/
src/util/mod.rs
+++ b/
src/util/mod.rs
@@
-1,14
+1,28
@@
-pub mod transaction_utils;
+//! Some utility modules live here. See individual sub-modules for more info.
+
pub mod events;
pub mod events;
+pub mod errors;
+pub mod ser;
pub(crate) mod byte_utils;
pub(crate) mod byte_utils;
+pub(crate) mod chacha20;
+pub(crate) mod poly1305;
pub(crate) mod chacha20poly1305rfc;
pub(crate) mod internal_traits;
pub(crate) mod rng;
pub(crate) mod chacha20poly1305rfc;
pub(crate) mod internal_traits;
pub(crate) mod rng;
-pub(crate) mod sha2;
+pub(crate) mod transaction_utils;
+
+#[macro_use]
+pub(crate) mod ser_macros;
+#[macro_use]
+pub(crate) mod macro_logger;
+
+// These have to come after macro_logger to build
+pub mod logger;
+pub mod config;
#[cfg(feature = "fuzztarget")]
#[cfg(feature = "fuzztarget")]
-pub use self::rng::
reset_rng_state
;
+pub use self::rng::
{reset_rng_state, fill_bytes}
;
#[cfg(test)]
pub(crate) mod test_utils;
#[cfg(test)]
pub(crate) mod test_utils;