summaryrefslogtreecommitdiff
path: root/bip-0340
AgeCommit message (Collapse)Author
2023-04-20bip340: Allow variable-length messagesTim Ruffing
2022-08-23BIP 340: fix function signature of lift_x in reference codeJonas Nick
bip-0340.mediawiki defines lift_x as taking an integer argument. This commit changes the argument of lift_x in the reference code to be identical to the specification. Previously it took a byte array.
2021-05-17BIP340: remove batch speedup graph and link to it insteadJonas Nick
This avoids having to update the BIP with a fresh graph every time there's a change to libsecp and suggests that the expected speedup depends on the specific implementation.
2020-09-03Clarify that R=infinity is invalid in BIP340Pieter Wuille
Also rename is_infinity to is_infinite is reference implementation, to match the wording in BIP340.
2020-08-20Update test vectors and generation scriptPieter Wuille
2020-04-06BIP-0340: Add typing annotations to reference.pyJanus
Passes mypy's strict-mode with mypy 0.770.
2020-03-17When checking test vectors, handle RuntimeException in signingTim Ruffing
This is better for playing around with the code. Now these these exceptions can really be raised when the verification during signing fails.
2020-03-17fixup! Optionally print intermediate values in reference codeTim Ruffing
2020-03-12Fix typoTim Ruffing
2020-03-12Make code and output a little bit more readableTim Ruffing
2020-03-12Optionally print intermediate values in reference codeTim Ruffing
and make reference code and pseudocode more consistent with each other
2020-03-04BIP 340: Verify sig before returning itJonas Nick
2020-03-04BIP 340: Use synthetic nonces in reference code and test vectorsJonas Nick
2020-03-04BIP 340: Update reference code and test vectors as follows:Jonas Nick
- use evenness as tiebreaker - using different tags for nonce- and challenge hashing - add pubkey to nonce function.
2020-01-19fixesPieter Wuille
2020-01-19Rename BIPsPieter Wuille