Aes.aes.state16: def of bend-osdev-aes@0.1.0.0 Import: import bend-osdev-aes@0.1.0.0/aes.bend as Aes Lines 178-184 of bend-osdev-aes@0.1.0.0/aes.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-aes@0.1.0.0/aes.bend&start_line=178&end_line=184 import Base import bend-collections@1.0.0.0/src/crypto/aes/types.bend as T # a block's 16 bytes as a state, and back def aes.state16(xs: List<&2, U32>) -> T.State: match xs: case Con{a0, Con{a1, Con{a2, Con{a3, Con{b0, Con{b1, Con{b2, Con{b3, Con{c0, Con{c1, Con{c2, Con{c3, Con{d0, Con{d1, Con{d2, Con{d3, t}}}}}}}}}}}}}}}}: T.S{T.W{a0, a1, a2, a3}, T.W{b0, b1, b2, b3}, T.W{c0, c1, c2, c3}, T.W{d0, d1, d2, d3}} case _: T.S{T.W{0, 0, 0, 0}, T.W{0, 0, 0, 0}, T.W{0, 0, 0, 0}, T.W{0, 0, 0, 0}} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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/types.bend&name=Quad https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/aes/types.bend&name=State