diff --git a/keccak/src/backends/soft.rs b/keccak/src/backends/soft.rs index f3ad673..d2c07e5 100644 --- a/keccak/src/backends/soft.rs +++ b/keccak/src/backends/soft.rs @@ -115,6 +115,8 @@ pub(crate) fn keccak_p(state: &mut [L; PLEN]) let round_consts = RC[..L::KECCAK_F_ROUND_COUNT] .last_chunk::() .expect("Number of rounds greater than `KECCAK_F_ROUND_COUNT` is not supported!") + .iter() + .copied() .map(L::truncate_rc); // Not unrolling this loop results in a much smaller function, plus