def CrCm.key

bend-osdev-crypto@0.1.0.0 · inst_cm.bend:48

import bend-osdev-crypto@0.1.0.0/inst_cm.bend as InstCm
import Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
import bend-osdev-cipher-modes@0.1.0.0/cipher_modes.bend as M
import bend-osdev-crypto@0.1.0.0/crypto.bend as Cr

48# a cipher-modes key schedule as the interface's ~key
49def CrCm.key(~K: Data, ~key: B.Octets -> Result<&2, &2, M.CmError, K>, o: B.Octets) -> Result<&2, &2, Cr.CrError, K>:
50  CrCm.lift(~K, key(o))

Uses (5)

Used by (0)

No other definition uses this definition.