def CrLc.key

bend-osdev-crypto@0.1.0.0 · inst_lc.bend:31

import bend-osdev-crypto@0.1.0.0/inst_lc.bend as InstLc
import Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
import bend-osdev-legacy-ciphers@0.1.0.0/legacy_ciphers.bend as L
import bend-osdev-crypto@0.1.0.0/crypto.bend as Cr

31# a legacy-ciphers key schedule as the interface's ~key
32def CrLc.key(~K: Data, ~key: B.Octets -> Result<&2, &2, L.LcError, K>, o: B.Octets) -> Result<&2, &2, Cr.CrError, K>:
33  CrLc.lift(~K, key(o))

Uses (5)

Used by (19)