Sbox.sbox: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/crypto/aes/sbox.bend as Sbox Lines 140-144 of bend-collections@1.0.0.0/src/crypto/aes/sbox.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/crypto/aes/sbox.bend&start_line=140&end_line=144 import Base # The S-box. (The one-constructor match only opens the U32, no branch: it # keeps a proof about an unknown word from expanding the 117 gates.) def sbox(x: U32) -> U32: match x: case U32{w}: sbox_word(U32{w}) Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/aes/sbox.bend&name=sbox_word