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
u8andi8are the same. - Rust arrays are compact and contiguous in memory.
- Array lengths match here by slicing.