Skip to main content

scramble_batch

Function scramble_batch 

Source
pub fn scramble_batch(cw: &ControlWord, payloads: &mut [&mut [u8]])
Available on crate feature bitsliced only.
Expand description

Scramble (encrypt) up to LANES payloads per pass with one control word.

Bit-for-bit identical to calling crate::scramble on each payload in turn, including the pass-through of payloads shorter than 8 bytes. The payloads are independent of one another; their lengths may all differ.