Closed kwxm closed 3 weeks ago
This addresses part of #6553 by adding more conformance tests (most of them positive) for the verifySchnorrSecp256k1Signature builtin. The tests are all taken from https://raw.githubusercontent.com/bitcoin/bips/master/bip-0340/test-vectors.csv, found via BIP-340.
verifySchnorrSecp256k1Signature
We also need to add positive tests for verifyEcdsaSecp256k1Signature but I'll do that in a separate PR. I haven't yet been able to find any official test vectors for that and I think I'm going to have to generate some myself using openssl.
verifyEcdsaSecp256k1Signature
openssl
This addresses part of #6553 by adding more conformance tests (most of them positive) for the
verifySchnorrSecp256k1Signature
builtin. The tests are all taken from https://raw.githubusercontent.com/bitcoin/bips/master/bip-0340/test-vectors.csv, found via BIP-340.We also need to add positive tests for
verifyEcdsaSecp256k1Signature
but I'll do that in a separate PR. I haven't yet been able to find any official test vectors for that and I think I'm going to have to generate some myself usingopenssl
.