Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ecdsa_impl: replace scalar if-checks with VERIFY_CHECKs in ecdsa_sig_…
…sign Whenever ecdsa_sig_sign is called, in the case that r == 0 or r overflows, we want to retry with a different nonce rather than fail signing entirely. Because of this, we always check the nonce conditions before calling sig_sign, so these checks should always pass (and in particular, they are inaccessible through the API and appear as uncovered code in test coverage).
- Loading branch information