def cam_unrun_run

bend-osdev-legacy-ciphers@0.1.0.0 · PROOF.bend:378

import bend-osdev-legacy-ciphers@0.1.0.0/PROOF.bend as PROOF
import Base
import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M
import bend-osdev-legacy-ciphers@0.1.0.0/camellia.bend as C

378def cam_unrun_run(os: List<&2, C.LcCamOp>, +s: M.CmBlock) -> {s == C.cam.unrun(os, C.cam.run(os, s)) : M.CmBlock}:
379  match os:
380    case Nil{}:
381      {==}
382    case Con{+o, +t}:
383      %cam_unrun_run(t, C.cam.op(o, s)) : {s == C.cam.unop(o, _) : M.CmBlock}
384      cam_unop_op(o, s)

Uses (8)

Used by (1)