diff --git a/core/src/syscall/precompiles/blake2s/mod.rs b/core/src/syscall/precompiles/blake2s/mod.rs index 1d7cd20c2..041539b9d 100644 --- a/core/src/syscall/precompiles/blake2s/mod.rs +++ b/core/src/syscall/precompiles/blake2s/mod.rs @@ -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;