Skip to content

Commit

Permalink
chore: Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
storojs72 committed Sep 23, 2024
1 parent 04fa3d1 commit 2481b2d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions core/src/syscall/precompiles/blake2s/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,13 @@ fn unshuffle(v: &mut Vec<[u32; 4]>) {
v[2] = shuffle_right_2_u32x4(v[2]);
v[3] = shuffle_right_3_u32x4(v[3]);
}

#[allow(dead_code)]
fn gather(m: [u32; 16], i0: usize, i1: usize, i2: usize, i3: usize) -> [u32; 4] {
[m[i0], m[i1], m[i2], m[i3]]
}

#[allow(dead_code)]
fn round(v: &mut Vec<[u32; 4]>, m: [u32; 16], s: [usize; 16]) {
let r1 = 16;
let r2 = 12;
Expand Down

0 comments on commit 2481b2d

Please sign in to comment.