def aria.e6
import bend-osdev-legacy-ciphers@0.1.0.0/aria.bend as Ariaimport Base
4164def aria.e6(s: LcAriaSt) -> LcAriaSt:
4165 match s:
4166 case LcAriaSt{x0, x1, x2, x3, x4, x5, x6, x7, x8, +x9, x10, x11, x12, x13, x14, x15}:
4167 LcAriaSt{Word.xor(8n, x0, x9), Word.xor(8n, x1, x9), x2, x3, x4, Word.xor(8n, x5, x9), Word.xor(8n, x6, x9), x7, x8, x9, x10, Word.xor(8n, x11, x9), Word.xor(8n, x12, x9), x13, Word.xor(8n, x14, x9), x15}