Function xor_inplace

Source
pub fn xor_inplace<const BLEN: usize>(
    lhs: &mut [u8; BLEN],
    rhss: &[&[u8; BLEN]],
)
Expand description

ยงSafety

Unsafe casting here is safe because:

  • Sizes of u8 and i8 are the same.
  • Rust arrays are compact and contiguous in memory.
  • Array lengths match here by slicing.