Skip to content

Conversation

@apoelstra
Copy link
Contributor

No description provided.

…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).
Boosts the ECDH module to 100% coverage
@apoelstra apoelstra force-pushed the coverage branch 3 times, most recently from e0e0fcd to 794da39 Compare November 26, 2016 23:16
@apoelstra
Copy link
Contributor Author

Reduced iterations of recovery API tests from 64 * count to just count; stopped leaking four contexts' worth of memory on every one of these iterations.

Travis should be happier now :)

@apoelstra apoelstra mentioned this pull request Nov 28, 2016
@gmaxwell
Copy link
Contributor

ACK.

@sipa sipa merged commit 03ff8c2 into bitcoin-core:master Dec 28, 2016
@real-or-random real-or-random mentioned this pull request Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants