Commit graph

8 commits

Author SHA1 Message Date
sputn1ck
d99a169663
btcec/schnorr/musig2: add pubkey check to Sign
This commit adds a check that the public key of the private key
that is passed to the Sign function is included in the slice of public
keys.

Reference ea47d52e2d
2022-11-03 23:02:12 +01:00
sputn1ck
c5b3ed699f
btcec/schnorr/musig2: add public key to secnonce
This commit adds the public key to the sec nonce and ensures that we're
signing with the right key.

Reference: 0e3cfaa526
2022-11-03 23:02:06 +01:00
sputn1ck
f6279eabbe
btcec/schnorr/musig2: add pk option to NonceGen
This commit adds the pk option to NonceGen and makes it mandatory.

Reference: a89f8578e1
2022-11-03 23:01:41 +01:00
Olaoluwa Osuntokun
5d895bbea5
btcec/schnorr/musig2: add sig combine test vectors 2022-10-20 17:58:00 -07:00
Olaoluwa Osuntokun
ca28a98425
btcec/schnorr/musig2: add sig verify+sign test vectors 2022-10-20 17:57:57 -07:00
Olaoluwa Osuntokun
cc12483f0a
btcec/schnorr/musig2: add key tweak sign test vectors 2022-10-20 17:57:55 -07:00
Olaoluwa Osuntokun
4e55273815
btcec/schnorr/musig2: update key agg test vectors to musig2 1.0.0 2022-10-20 17:57:52 -07:00
Olaoluwa Osuntokun
3d9f4484df
btcec/schnorr/musig: update nonce test vectors to musig2 1.0.0 2022-10-20 17:57:50 -07:00