diff --git a/.gitignore b/.gitignore index e12db157..677eafc3 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ target/ **/Cargo.lock */.cargo/config -.vscode/ \ No newline at end of file +.vscode/ +.DS_Store \ No newline at end of file diff --git a/chacha20/src/rng.rs b/chacha20/src/rng.rs index d3894d70..8178a0c2 100644 --- a/chacha20/src/rng.rs +++ b/chacha20/src/rng.rs @@ -179,11 +179,9 @@ impl_zeroize_to_le_bytes!(u128, 16, Zeroizing16Bytes); /// * `[u8; 5]` /// /// There would be a minor performance benefit from using a `[u8; 5]`, as it -/// avoids some copies, bit operations, and extra zeroizing. +/// avoids some copies and bit operations. pub struct WordPosInput([u8; 5]); -impl_zeroize_from!([u8; 5], WordPosInput); - impl From for WordPosInput { #[cfg(feature = "zeroize")] fn from(mut value: u64) -> Self {