law michael_key_length

bend-osdev-crypto@0.1.0.0 · LAWS.bend:488

import bend-osdev-crypto@0.1.0.0/LAWS.bend as LAWS
import Base
import bend-osdev-bytes@0.1.0.0/bytes.bend as B
import bend-osdev-crypto@0.1.0.0/crypto.bend as Cr
import bend-osdev-hashes@0.1.0.0/hashes.bend as Hs
import bend-osdev-crypto@0.1.0.0/inst_michael.bend as MIC

488law michael_key_length:
489  {Result.map(&2, &2, Cr.CrError, Hs.HsW2, Unit, k => Unit{}, MIC.CrMichael.key(B.Octets.zeros(16n))) == Fail{Cr.CrBadKeyLength{16n}} : Result<&2, &2, Cr.CrError, Unit>}

Uses (7)

Used by (0)

No other definition uses this definition.