def aria.unop

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

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

4476def aria.unop(o: LcAriaOp, s: LcAriaSt) -> LcAriaSt:
4477  match o:
4478    case LcAriaRk{k}:
4479      aria.xor(s, k)
4480    case LcAriaSl1{}:
4481      aria.sl2(s)
4482    case LcAriaSl2{}:
4483      aria.sl1(s)
4484    case LcAriaDiff{}:
4485      aria.undiffuse(s)

Uses (6)

Used by (4)