law Okm.length

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/kdf/laws.bend:71

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/kdf/laws.bend as Laws
import Base
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/hkdf.bend as Spec

71# The specification's OKM (any length): L bytes, and prefixes of each other.
72law Okm.length:
73  for +prk: List<&2, U32>
74  for +info: List<&2, U32>
75  for +len: Nat
76  {List.length(&2, U32, Spec.okm(prk, info, len)) == len : Nat}

Uses (6)

Used by (0)

No other definition uses this definition.