def hmac_len

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/mac/hmac.bend:90

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/mac/hmac.bend as Hmac
import Base
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/hmac.bend as Spec

90# Every tag is 32 bytes.
91def hmac_len(+key: List<&2, U32>, +msg: List<&2, U32>) -> {List.length(&2, U32, Spec.hmac(key, msg)) == 32n : Nat}:
92  fips_len(outer(key, msg))

Uses (7)

Used by (3)