summaryrefslogtreecommitdiff
path: root/bip-0340/reference.py
AgeCommit message (Collapse)Author
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-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-19Rename BIPsPieter Wuille