Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
tarcieri committed Aug 18, 2024
1 parent fcee97e commit 6c2c163
Show file tree
Hide file tree
Showing 3 changed files with 82 additions and 57 deletions.
2 changes: 2 additions & 0 deletions yescrypt/src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,8 @@ pub(crate) unsafe fn encrypt(
ctx2.update(&f[0..1]);
}

// TODO
#[allow(deprecated)]
ctx2.finalize_into_reset(Array::from_mut_slice(&mut f[..32]));
which ^= halflen;
memxor(&mut *data.offset(which as isize), f.as_mut_ptr(), halflen);
Expand Down
Loading

0 comments on commit 6c2c163

Please sign in to comment.