def tf_unrun_run

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

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/twofish.bend as F

469def tf_unrun_run(os: List<&2, F.LcTfOp>, +s: M.CmBlock) -> {s == F.tf.unrun(os, F.tf.run(os, s)) : M.CmBlock}:
470  match os:
471    case Nil{}:
472      {==}
473    case Con{+o, +t}:
474      %tf_unrun_run(t, F.tf.op(o, s)) : {s == F.tf.unop(o, _) : M.CmBlock}
475      tf_unop_op(o, s)

Uses (8)

Used by (1)