Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "ecdsa_impl: replace scalar if-checks with VERIFY_CHECKs in ec…
…dsa_sig_sign" This reverts commit 25e3cfb. The reverted commit was probably based on the assumption that this is about the touched checks cover the secret nonce k instead of r, which is the x-coord of the public nonce. A signature with a zero r is invalid by the spec, so we should return 0 to make the caller retry with a different nonce. Overflow is not an issue. Fixes dashpay#720.
- Loading branch information