Increase test coverage and add a configure flag to ease coverage analysis #426

pull apoelstra wants to merge 5 commits into bitcoin-core:master from apoelstra:coverage changing 11 files +207 −28
  1. apoelstra commented at 8:35 PM on November 26, 2016: contributor

    No description provided.

  2. 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).
    25e3cfbf9b
  3. ecdh: test NULL-checking of arguments
    Boosts the ECDH module to 100% coverage
    6f8ae2f3c0
  4. apoelstra force-pushed on Nov 26, 2016
  5. apoelstra force-pushed on Nov 26, 2016
  6. apoelstra force-pushed on Nov 26, 2016
  7. recovery: add tests to cover API misusage b595163992
  8. configure: add --enable-coverage to set options for coverage analysis a724d7296d
  9. group_impl.h: remove unused `secp256k1_ge_set_infinity` function
    Also remove `secp256k1_fe_verify` from field_*_.impl.h when VERIFY is not defined
    03ff8c2d0a
  10. apoelstra force-pushed on Nov 28, 2016
  11. apoelstra commented at 3:30 AM on November 28, 2016: contributor

    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 :)

  12. apoelstra cross-referenced this on Nov 28, 2016 from issue Exhaustive recovery by apoelstra
  13. gmaxwell commented at 10:10 PM on December 16, 2016: contributor

    ACK.

  14. sipa merged this on Dec 28, 2016
  15. sipa closed this on Dec 28, 2016

  16. real-or-random cross-referenced this on Mar 24, 2022 from issue Initial gcov work by cbatson

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin-core/secp256k1. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-04-17 11:15 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me