1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-05-12 12:03:29 +00:00

5 Commits

Author SHA1 Message Date
Andrew Toth
24b4354e64
BIP374: Add message to rand computation (#1758)
* BIP374: Add message to rand computation

* BIP374: Update reference and test vectors

* Add changelog

* Format changelog according to BIP3

* Add creation date

Co-authored-by: Jon Atack <jon@atack.com>

* Grammar fix

Co-authored-by: Jon Atack <jon@atack.com>

* update changelog

---------

Co-authored-by: Jon Atack <jon@atack.com>
2025-02-27 08:37:46 -08:00
Jon Atack
a261439d92 bip374: update reference.py to be executable 2024-12-28 18:20:33 -07:00
Oliver Gugger
e141b9501d
bip-0374: remove default value for G in dleq_challenge
To avoid the mistake fixed in the previous commit, we remove the default
value from the G parameter of dleq_challenge.
2024-12-28 21:42:07 +01:00
Oliver Gugger
8bc42a2673
bip-0374: fix challenge generation, use correct G
Both generating and verifying a proof allows for specifying a custom
generator point G. But that custom generator point was not passed into
the dleq_challenge function, resulting in the default (secp256k1)
generator point to be used. This lead to the test vectors being
incorrect.
2024-12-28 15:58:08 +01:00
Andrew Toth
cb3afee850
Move test vectors to bip-0374 directory, add tests for G 2024-12-26 14:17:52 -05:00