Aes.aes.inv_shift: def of bend-osdev-aes@0.1.0.0 Import: import bend-osdev-aes@0.1.0.0/aes.bend as Aes Lines 99-103 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=99&end_line=103 import Base import bend-collections@1.0.0.0/src/crypto/aes/types.bend as T # InvShiftRows: row r moves r columns to the right def aes.inv_shift(s: T.State) -> T.State: match s: case T.S{T.W{p0, p1, p2, p3}, T.W{q0, q1, q2, q3}, T.W{r0, r1, r2, r3}, T.W{s0, s1, s2, s3}}: T.S{T.W{p0, s1, r2, q3}, T.W{q0, p1, s2, r3}, T.W{r0, q1, p2, s3}, T.W{s0, r1, q2, p3}} Uses (2): 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