aboutsummaryrefslogtreecommitdiffstats
path: root/go.mod
diff options
context:
space:
mode:
authorClawd <ai@clawd.bot>2026-02-19 21:29:48 -0800
committerClawd <ai@clawd.bot>2026-02-19 21:29:48 -0800
commit9d5a905507cd8366033d7c341f8123aa24d9571b (patch)
tree72013cf72f7559d7450adc4a9a786b5d19137a82 /go.mod
parent56b346529c9a2f231af44ba19c9226f2bc9fe726 (diff)
Add btcec compatibility tests
Tests our implementation against github.com/btcsuite/btcd/btcec/v2: - TestKeyDerivationCompatibility: verify public keys match btcec - TestOurSignatureVerifiesWithBtcec: our signatures verify with btcec - TestBtcecSignatureVerifiesWithOurs: btcec signatures verify with ours - TestCrossSignAndVerify: bidirectional sign/verify with same keys - TestBIP340Vectors: official BIP-340 test vectors (14 total) - TestTaggedHashFormat: verify tagged hash structure All tests pass - our implementation is fully compatible with btcec for BIP-340 Schnorr signatures.
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod8
1 files changed, 8 insertions, 0 deletions
diff --git a/go.mod b/go.mod
index f8eed0f..7d2f45d 100644
--- a/go.mod
+++ b/go.mod
@@ -1,3 +1,11 @@
1module secp256k1-learn 1module secp256k1-learn
2 2
3go 1.23.5 3go 1.23.5
4
5require github.com/btcsuite/btcd/btcec/v2 v2.3.6
6
7require (
8 github.com/btcsuite/btcd/chaincfg/chainhash v1.0.1 // indirect
9 github.com/decred/dcrd/crypto/blake256 v1.0.0 // indirect
10 github.com/decred/dcrd/dcrec/secp256k1/v4 v4.0.1 // indirect
11)