Aria.aria.xq: def of bend-osdev-legacy-ciphers@0.1.0.0 Import: import bend-osdev-legacy-ciphers@0.1.0.0/aria.bend as Aria Lines 4435-4439 of bend-osdev-legacy-ciphers@0.1.0.0/aria.bend: https://jend.leeeet.dev/read.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/aria.bend&start_line=4435&end_line=4439 import Base # four bytes XORed with the bytes of a round key's word def aria.xq(x0: Word(8n), x1: Word(8n), x2: Word(8n), x3: Word(8n), w: U32) -> LcAriaQ: match w: case U32{+k}: LcAriaQ{Word.xor(8n, x0, aria.byte0(k)), Word.xor(8n, x1, aria.byte1(k)), Word.xor(8n, x2, aria.byte2(k)), Word.xor(8n, x3, aria.byte3(k))} Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.xor https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/aria.bend&name=LcAriaQ https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/aria.bend&name=aria.byte0 https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/aria.bend&name=aria.byte1 https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/aria.bend&name=aria.byte2 https://jend.leeeet.dev/definition.txt?path=bend-osdev-legacy-ciphers@0.1.0.0/aria.bend&name=aria.byte3