Skip to main content

Module sbox

Module sbox 

Source
Expand description

S-box and inverse S-box (Boyar-Peralta-Calik)

Functionsยง

inv_sub_bytes ๐Ÿ”’
Note that the 4 bitwise NOT are accounted for here so that it is a true inverse of sub_bytes.
sub_bytes ๐Ÿ”’
Bitsliced implementation of the AES Sbox based on Boyar, Peralta and Calik.
sub_bytes_nots ๐Ÿ”’
NOT operations that are omitted in S-box.