def aria.e4

bend-osdev-legacy-ciphers@0.1.0.0 · aria.bend:4154

import bend-osdev-legacy-ciphers@0.1.0.0/aria.bend as Aria
import Base

4154def aria.e4(s: LcAriaSt) -> LcAriaSt:
4155  match s:
4156    case LcAriaSt{x0, x1, x2, x3, x4, x5, x6, x7, x8, x9, x10, +x11, x12, x13, x14, x15}:
4157      LcAriaSt{Word.xor(8n, x0, x11), Word.xor(8n, x1, x11), Word.xor(8n, x2, x11), Word.xor(8n, x3, x11), Word.xor(8n, x4, x11), Word.xor(8n, x5, x11), Word.xor(8n, x6, x11), Word.xor(8n, x7, x11), x8, Word.xor(8n, x9, x11), x10, x11, x12, x13, x14, x15}

Uses (2)

Used by (4)