def m64.ecb

bend-osdev-legacy-ciphers@0.1.0.0 · modes64.bend:22

import bend-osdev-legacy-ciphers@0.1.0.0/modes64.bend as Modes64
import Base
import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as L

22def m64.ecb(~K: Data, ~f: K -> L.LcBlock64 -> L.LcBlock64, +k: K, bs: List<&2, L.LcBlock64>) -> List<&2, L.LcBlock64>:
23  match bs:
24    case Nil{}:
25      Nil{}
26    case Con{b, t}:
27      Con{f(k, b), m64.ecb(~K, ~f, k, t)}

Uses (2)

Used by (5)