Sebastian Falbesoner
5a95a268b9
tests: introduce helper for non-zero random_fe_test
results
...
There are several instances in the tests where random non-zero field
elements are generated by calling `random_fe_test` in a do/while-loop.
This commit deduplicates all these by introducing a
`random_fe_non_zero_test` helper. Note that some instances checked the
is-zero condition via `secp256k1_fe_normalizes_to_zero_var`, which is
unnecessary, as the result of `random_fe_test` is already normalized (so
strictly speaking, this is not a pure refactor).
2023-06-27 10:31:24 +02:00
..
2023-03-15 09:08:41 +00:00
2023-06-20 11:31:58 -04:00
2023-04-09 06:17:16 +02:00
2022-11-07 16:37:24 -05:00
2023-05-30 12:10:41 +02:00
2023-05-11 13:49:33 -04:00
2023-06-20 11:31:58 -04:00
2023-04-21 11:18:36 +02:00
2023-01-11 16:07:37 -05:00
2023-06-20 11:31:58 -04:00
2023-06-20 11:31:58 -04:00
2023-05-11 13:49:33 -04:00
2021-08-20 11:11:26 -04:00
2023-05-30 12:10:41 +02:00
2021-08-20 11:11:26 -04:00
2021-12-18 16:11:56 -05:00
2021-12-18 16:11:56 -05:00
2023-05-11 16:14:44 +00:00
2023-05-10 09:06:02 -04:00
2023-06-25 19:07:16 +01:00
2021-12-18 16:11:52 -05:00
2023-05-19 08:40:28 -04:00
2022-07-07 20:32:08 +02:00
2023-05-30 12:10:41 +02:00
2022-07-07 20:32:08 +02:00
2023-05-12 05:23:11 -04:00
2023-06-13 13:34:49 +02:00
2023-03-09 15:29:56 +00:00
2023-05-11 06:18:37 -04:00
2023-06-13 13:34:49 +02:00
2023-05-11 06:18:37 -04:00
2023-06-13 13:34:49 +02:00
2023-06-27 09:39:10 +02:00
2023-06-20 11:05:32 -04:00
2023-06-20 11:05:32 -04:00
2022-03-25 11:32:14 +01:00
2022-03-25 11:32:14 +01:00
2022-11-07 16:38:30 -05:00
2023-03-09 15:29:56 +00:00
2022-11-07 16:37:24 -05:00
2023-06-04 18:03:36 +01:00
2022-11-07 16:37:24 -05:00
2023-02-27 15:38:05 -05:00
2023-05-11 16:32:07 +02:00
2023-02-28 15:54:00 -05:00
2023-05-11 16:32:07 +02:00
2023-02-28 15:54:00 -05:00
2023-06-06 09:07:36 +01:00
2023-06-24 20:18:45 +01:00
2023-06-06 09:07:36 +01:00
2021-12-18 16:12:34 -05:00
2023-06-06 09:07:36 +01:00
2023-06-06 09:07:36 +01:00
2023-06-17 01:06:35 +02:00
2020-12-18 00:24:22 +02:00
2023-06-10 19:21:38 +02:00
2020-12-18 00:24:22 +02:00
2023-01-19 21:14:38 +00:00
2023-04-20 18:18:11 +02:00
2020-12-18 00:24:22 +02:00
2023-01-19 21:14:38 +00:00
2022-06-29 20:24:11 +05:30
2023-05-12 15:05:57 +00:00
2023-06-20 11:31:58 -04:00
2022-12-05 11:26:44 +01:00
2023-03-09 15:29:56 +00:00
2023-03-09 15:29:56 +00:00
2023-05-11 13:49:33 -04:00
2023-06-27 10:31:24 +02:00
2023-06-27 09:39:10 +02:00