Tim Ruffing 4494a369b6
Merge bitcoin-core/secp256k1#1357: tests: refactor: take use of secp256k1_ge_x_on_curve_var
7d8d5c86df8b27b45e80ed50341dd0ce64546c0f tests: refactor: take use of `secp256k1_ge_x_on_curve_var` (Sebastian Falbesoner)

Pull request description:

  The recently merged ellswift PR (#1129) introduced a helper `secp256k1_ge_x_on_curve_var` to check if a given X coordinate is on the curve (i.e. the expression x^3 + 7 is square, see commit 79e5b2a8b80f507e2c9936ff1c4e2fb39bc66a4e). This can be used for code deduplication in the `ecmult_const_mult_xonly` test.

  (Found this instance via `$ git grep add_int.*SECP256K1_B`, I think it's the only one where the helper can be used.)

ACKs for top commit:
  sipa:
    utACK 7d8d5c86df8b27b45e80ed50341dd0ce64546c0f
  real-or-random:
    utACK 7d8d5c86df8b27b45e80ed50341dd0ce64546c0f

Tree-SHA512: aebff9b5ef2f6f6664ce89e4e1272cb55b6aac81cfb379652c4b7ab30dd1d7fd82a2c3b47c7b7429755ba28f011a3a9e2e6d3aa5c77d3b105d159104c24b89f3
2023-06-27 09:37:49 +02:00
..
2022-11-07 16:37:24 -05:00
2023-06-20 11:31:58 -04:00
2021-08-20 11:11:26 -04:00
2021-08-20 11:11:26 -04:00
2022-03-25 11:32:14 +01:00
2022-11-07 16:37:24 -05:00
2022-11-07 16:37:24 -05:00
2023-02-28 15:54:00 -05:00
2023-02-28 15:54:00 -05:00
2021-12-18 16:12:34 -05:00
2020-12-18 00:24:22 +02:00
2020-12-18 00:24:22 +02:00
2020-12-18 00:24:22 +02:00