law SchnorrSign.correct
import bend-collections-laws-crypto@1.0.0.0/proofs/crypto/secp256k1/laws_schnorr.bend as LawsSchnorrimport 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/schnorr.bend as SS
27law SchnorrSign.correct:
28 for +one: Nat
29 for +h1: {one == 1n : Nat}
30 for +sk: List<&2, U32>
31 for +msg: List<&2, U32>
32 for +aux: List<&2, U32>
33 {K.schnorr_sign(sk, msg, aux) == SS.sign(one, sk, msg, aux) : Maybe<&2, List<&2, U32>>}
Uses (7)
Used by (0)
No other definition uses this definition.