HomePhabricator

Change exhaustive test groups so they have a point with X=1

Description

Change exhaustive test groups so they have a point with X=1

Summary:
This enables testing overflow is correctly encoded in the recid, and
likely triggers more edge cases.

Also introduce a Sage script to generate the parameters.

This is a partial backport of secp256k1 PR808 : https://github.com/bitcoin-core/secp256k1/pull/808/commits/b110c106fa9704e30f6b0c2ffa6a2697031e89a8

Depends on D7659

Test Plan:

ninja check-secp256k1

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D7660

Details

Provenance
Pieter Wuille <pieter@wuille.net>Authored on Sep 6 2020, 23:46
deadalnixCommitted on Sep 29 2020, 13:14
deadalnixPushed on Sep 29 2020, 13:14
Reviewer
Restricted Project
Differential Revision
D7660: Change exhaustive test groups so they have a point with X=1
Parents
rABCa83300b50841: [SECP256K1] Fix some travis issues on macOS
Branches
Unknown
Tags
Unknown