You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Merge #808: Exhaustive test improvements + exhaustive schnorrsig tests
8b7dcdd Add exhaustive test for extrakeys and schnorrsig (Pieter Wuille)
08d7d89 Make pubkey parsing test whether points are in the correct subgroup (Pieter Wuille)
87af00b Abstract out challenge computation in schnorrsig (Pieter Wuille)
63e1b2a Disable output buffering in tests_exhaustive.c (Pieter Wuille)
39f67dd Support splitting exhaustive tests across cores (Pieter Wuille)
e99b26f Give exhaustive_tests count and seed cmdline inputs (Pieter Wuille)
49e6630 refactor: move RNG seeding to testrand (Pieter Wuille)
b110c10 Change exhaustive test groups so they have a point with X=1 (Pieter Wuille)
cec7b18 Select exhaustive lambda in function of order (Pieter Wuille)
78f6cdf Make the curve B constant a secp256k1_fe (Pieter Wuille)
d7f39ae Delete gej_is_valid_var: unused outside tests (Pieter Wuille)
8bcd78c Make secp256k1_scalar_b32 detect overflow in scalar_low (Pieter Wuille)
c498366 Move exhaustive tests for recovery to module (Pieter Wuille)
be31791 Make group order purely compile-time in exhaustive tests (Pieter Wuille)
Pull request description:
A few miscellaneous improvements:
* Just use EXHAUSTIVE_TEST_ORDER as order everywhere, rather than a variable
* Move exhaustive tests for recovery module to the recovery module directory
* Make `secp256k1_scalar_set_b32` detect overflow correctly for scalar_low (a comment in the recovery exhaustive test indicated why this was the case, but this looks incorrect).
* Change the small test groups so that they include a point with X coordinate 1.
* Initialize the RNG seed, allowing configurating from the cmdline, and report it.
* Permit changing the number of iterations (re-randomizing for each).
* Support splitting the work across cores from the cmdline.
And a big one:
* Add exhaustive tests for schnorrsig module (and limited ones for extrakeys).
ACKs for top commit:
real-or-random:
ACK 8b7dcdd
jonasnick:
ACK 8b7dcdd
Tree-SHA512: 18d7f362402085238faaced164c0ca34079717a477001fc0b13448b3529ea2ad705793a13b7a36f34bf12e9231fee11070f88cc51bfc2a83ca82aa13f7aaae71
0 commit comments