law Expand.too_long

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

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/src/crypto/kdf.bend as KDF

36law Expand.too_long:
37  for +prk: List<&2, U32>
38  for +info: List<&2, U32>
39  for +len: Nat
40  for +h: {Nat.is_le(len, 8160n) == False{} : Bool}
41  {KDF.expand(prk, info, len) == Fail{KDF.LengthTooLarge{}} : Result<&2, &2, KDF.KdfError, List<&2, U32>>}

Uses (10)

Used by (0)

No other definition uses this definition.