This implements BIP458: https://github.com/bitcoin/bips/pull/2205
The original version of this code ported over the work from b-wagn in https://github.com/BlockstreamResearch/secp256k1-zkp/pull/261
This implements BIP458: https://github.com/bitcoin/bips/pull/2205
The original version of this code ported over the work from b-wagn in https://github.com/BlockstreamResearch/secp256k1-zkp/pull/261
Rebased on the musig changes and added the compile options for cmake
Rebased to take into account the latest changes to cmake, CI and test framework. Also squashed the commit since maintaining them was annoying and there wasn't really a good reason for them. It was more of a crutch for me while I was taking my first steps here.
88 | + * Returns: 1: correct signature. 89 | + * 0: incorrect signature. 90 | + * Args: ctx: a secp256k1 context object. 91 | + * In: pubkeys: Array of n many x-only public keys. Can only be NULL if n is 0. 92 | + * msgs32: Array of n many 32-byte messages. Can only be NULL if n is 0. 93 | + * n: number of signatures to that have been aggregated.
* n: number of signatures that have been aggregated.
Thanks, I will address it the next time I will push an update!
Fixed
I think there's a typo
Rebased and added the test vectors from the BIP draft: https://github.com/bitcoin/bips/pull/2205
Code is based on the secp256k1-zkp implementation. Test vectors based on
BIP 458: https://github.com/bitcoin/bips/blob/master/bip-0458.mediawiki
Co-authored-by: Benedikt <crypto@benedikt-wagner.dev>