def aria.op

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

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

4465def aria.op(o: LcAriaOp, s: LcAriaSt) -> LcAriaSt:
4466  match o:
4467    case LcAriaRk{k}:
4468      aria.xor(s, k)
4469    case LcAriaSl1{}:
4470      aria.sl1(s)
4471    case LcAriaSl2{}:
4472      aria.sl2(s)
4473    case LcAriaDiff{}:
4474      aria.diffuse(s)

Uses (6)

Used by (4)