Skip to main content

sub_bytes

Function sub_bytes 

Source
pub(super) fn sub_bytes<W: Word>(state: &mut [W])
Expand description

Bitsliced implementation of the AES Sbox based on Boyar, Peralta and Calik.

See: http://www.cs.yale.edu/homes/peralta/CircuitStuff/SLP_AES_113.txt

Note that the 4 bitwise NOT are moved to the key schedule.