Sebastian Falbesoner
436a3dd1fa
BIP-374: use tagged_hash and xor_bytes routines from secp256k1lab
2026-01-15 00:56:13 +01:00
Sebastian Falbesoner
459d977d9b
BIP-374: replace secp256k1.py with vendored copy of secp256k1lab
2026-01-15 00:47:29 +01:00
Sebastian Falbesoner
4e18ee641b
BIP-374: avoid using sys.path[0] to find current working directory
...
This approach is incompatible with the sys.path extension approach
in the next commit which is used to to find the vendored copy of
secp256k1lab, so use __file__ instead which works as well.
2026-01-15 00:45:33 +01:00
Tronica
6ceafc51b1
BIP-0374: fix incorrect bit index and modernize CSV reader usage in test vector scripts ( #1817 )
...
* Update run_test_vectors.py
* Update gen_test_vectors.py
* Regenerate test vectors after fixing message tampering logic in gen_test_vectors.py
2025-04-16 07:10:16 -07:00
stratospher
5f42eb64d4
BIP374: add test vector for optional message
...
- added 1 more successful test vectors.
now there are 8 test vectors[test vectors 0..7].
- test vector 5 has optional message
- test vectors 5, 6, 7 have G=GENERATOR
2025-01-28 06:40:58 +05:30
stratospher
41e0f34f76
BIP374: add test vectors for secp256k1 generator point
...
- added 2 more successful test vectors.
now there are 7 test vectors[test vectors 0..6].
- test vectors 5, 6 have G=GENERATOR
2025-01-27 14:20:45 +05:30
Andrew Toth
cb3afee850
Move test vectors to bip-0374 directory, add tests for G
2024-12-26 14:17:52 -05:00