Skip to content

Commit

Permalink
gitignore .DS_Store and remove impl_zeroize_from
Browse files Browse the repository at this point in the history
  • Loading branch information
nstilt1 committed Nov 12, 2023
1 parent b013266 commit 7833e11
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
target/
**/Cargo.lock
*/.cargo/config
.vscode/
.vscode/
.DS_Store
4 changes: 1 addition & 3 deletions chacha20/src/rng.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<u64> for WordPosInput {
#[cfg(feature = "zeroize")]
fn from(mut value: u64) -> Self {
Expand Down

0 comments on commit 7833e11

Please sign in to comment.