law VerifyStrict.correct

bend-collections-laws-crypto@1.0.0.0 · proofs/crypto/secp256k1/laws_verify.bend:29

import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/laws_verify.bend as LawsVerify
import Base
import bend-collections-laws-crypto@1.0.0.0/src/crypto/secp256k1.bend as K
import bend-collections-laws-crypto@1.0.0.0/spec/crypto/secp256k1/ecdsa.bend as ES

29# the same with high s rejected
30law VerifyStrict.correct:
31  for +one: Nat
32  for +h1: {one == 1n : Nat}
33  for +pk: List<&2, U32>
34  for +h: List<&2, U32>
35  for +sig: List<&2, U32>
36  {K.verify_strict(pk, h, sig) == ES.verify(one, pk, h, sig, True{}) : Bool}

Uses (7)

Used by (0)

No other definition uses this definition.