pub fn external_initial_permute_state<AF: AbstractField, CT: Copy, MdsPerm4: MdsPermutation<AF, 4>, const WIDTH: usize>(
state: &mut [AF; WIDTH],
initial_external_constants: &[[CT; WIDTH]],
add_rc_and_sbox: fn(_: &mut AF, _: CT),
mat4: &MdsPerm4,
)
Expand description
A helper method which allow any field to easily implement the initial External Layer.