def sub_bytes
import bend-collections-laws-crypto@1.0.0.0/src/crypto/aes/aes.bend as Aesimport Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/aes/types.bend as T
15def sub_bytes(s: T.State) -> T.State:
16 match s:
17 case T.S{c0, c1, c2, c3}:
18 T.S{sub_word(c0), sub_word(c1), sub_word(c2), sub_word(c3)}
Uses (2)
Used by (5)
- bend-collections-laws-crypto@1.0.0.0/src/crypto/aes/aes:round
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aes/cipher:sub_bytes_ok
- bend-collections-laws-crypto@1.0.0.0/src/crypto/aes/aes:last_round
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aes/cipher:last_round_ok
- bend-collections-laws-crypto@1.0.0.0/proofs/crypto/aes/cipher:round_ok