Aes.add_round_key: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/crypto/aes/aes.bend as Aes Lines 44-47 of bend-collections@1.0.0.0/src/crypto/aes/aes.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/crypto/aes/aes.bend&start_line=44&end_line=47 import Base import bend-collections@1.0.0.0/src/crypto/aes/types.bend as T def add_round_key(s: T.State, k: T.State) -> T.State: match s k: case T.S{c0, c1, c2, c3} T.S{k0, k1, k2, k3}: T.S{xor_word(c0, k0), xor_word(c1, k1), xor_word(c2, k2), xor_word(c3, k3)} Uses (2): https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/aes/aes.bend&name=xor_word https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/crypto/aes/types.bend&name=State