bitcore-lib-zcash/lib/crypto
bip32JP 95bfb18849 Fix the error loop.
I added a similar badrs function to python-ecdsa and compared the results.

The 1 badrs (aka forcing it to loop once) gave me a different value. It turns out you missed one of the `v = hmac_k(v)` steps during the loop.

Adding one extra `v = hmac_k(v)` in each loop makes it match up with python-ecdsa perfectly (I even tried up to badrs = 30 and it was fine.
2015-01-02 15:32:33 +09:00
..
bn.js refactoring interpreter 2014-12-19 18:28:52 -03:00
ecdsa.js Fix the error loop. 2015-01-02 15:32:33 +09:00
hash.js refactors and fixes for script interpreter 2014-12-16 13:33:56 -03:00
point.js Crypto/Point: Added test coverage and documentation, and refactored validation 2014-12-01 10:14:36 -05:00
random.js fix tests for random 2014-11-20 18:46:43 -03:00
signature.js refactoring interpreter 2014-12-19 18:28:52 -03:00