Skip to main content

aes_round

Function aes_round 

Source
pub fn aes_round(state: &[u8; 16], key: &[u8; 16]) -> [u8; 16]
Expand description

One reference AESENC round, including MixColumns and the supplied key.

state and key are 16 bytes in AES column-major order: byte 4·column + row. This is the software meaning of one [AES] box in the module picture; the hardware splits it into aes_sub_shift_kernel and aes_mix_key_kernel.