1
0
mirror of https://github.com/bitcoin/bips.git synced 2024-11-20 02:09:02 +01:00
Commit Graph

19 Commits

Author SHA1 Message Date
Jonas Nick
8a8a35bfc5 Update test-vectors.csv 2019-11-05 10:14:23 +00:00
Jonas Nick
8e7aef083e Fix point_from_bytes accepting out-of-range pubkeys and add test vector 2019-11-05 00:05:07 +00:00
Jonas Nick
0ec01e9255 Fix typo in reference code comment 2019-11-04 23:35:55 +00:00
Jonas Nick
35f1fface5 Make more clear that signing function in test vectors generation code isn't intended to be used anywhere else 2019-11-04 23:35:31 +00:00
Jonas Nick
c0f0c8d43d Check infinity in is_positive 2019-11-04 23:35:24 +00:00
Jonas Nick
220df7da78 Adjust test vector generation code to latest terminology 2019-11-04 23:35:17 +00:00
Jonas Nick
854a33ab48 Fix test vector generation code after changing schnorrsig_sign api 2019-11-04 23:35:11 +00:00
Pieter Wuille
0c6a9cffad Settle on notation: is_square(y), has_square_y(P) 2019-11-04 13:42:24 -08:00
Pieter Wuille
00f941b8c7
Merge pull request #80 from jonasnick/bytes
Accept seckey in the form of bytes and not int in the reference BIP-schnorr code...
2019-10-07 10:44:57 -07:00
Jonas Nick
1882aa7b8f Add is_quad function to bip-schnorr reference code 2019-09-27 15:36:51 +00:00
Jonas Nick
7e273fbda6 Add x() and y() functions for points to bip-schnorr 2019-09-27 15:36:51 +00:00
Jonas Nick
472911379c Accept seckey in the form of bytes and not int in the reference BIP-schnorr code to match the spec. 2019-09-26 21:13:18 +00:00
Jonas Nick
775cb2fd90 Tag signature hashes, improve rationale and update test vectors 2019-08-26 20:46:08 +00:00
Jonas Nick
7cd53f6eec Use a tagged hash in bip-schnorr nonce derivation 2019-08-26 11:32:04 +00:00
Jonas Nick
ae96228913
Update bip-schnorr/test-vectors.py
Co-Authored-By: Tim Ruffing <tim@timruffing.de>
2019-08-20 10:53:58 +00:00
Jonas Nick
ed01c1a776 Switch to 32 byte public keys in bip-schnorr 2019-08-18 15:04:03 +00:00
Jonas Nick
1faf705388 Fix point_from_bytes in bip-schnorr reference implementation 2019-08-18 15:04:03 +00:00
Jonas Nick
e9ea1710ef Clarify what 'reduced' means in tests and use word 'message' instead of 'message hash' 2019-05-06 20:09:33 +00:00
Pieter Wuille
aeffa07527 Add draft for Schnorr BIP
Includes squashed contributions by GitHub users jonasnick,
real-or-random, AustinWilliams, JustinTArthur, ysangkok,
RCassatta, Sjors, tnakagawa, and guggero.
2019-05-06 10:40:58 -07:00