def sbox_byte

bend-collections-laws-crypto@1.0.0.0 · spec/crypto/aes/aes.bend:69

import bend-collections-laws-crypto@1.0.0.0/spec/crypto/aes/aes.bend as Aes
import Base

69# Section 5.1.1: the S-box is the inverse followed by the affine transformation.
70def sbox_byte(+x: U32) -> U32:
71  affine(inverse(x))

Uses (3)

Used by (1)