Generalize Strauss to support multiple points

API by Andrew Poelstra.
This commit is contained in:
Pieter Wuille
2017-08-16 14:45:27 -07:00
committed by Jonas Nick
parent 548de42ecf
commit 8c1c831bdb
4 changed files with 215 additions and 55 deletions

View File

@@ -79,6 +79,9 @@ static void secp256k1_ge_set_table_gej_var(secp256k1_ge *r, const secp256k1_gej
* stored in globalz. */
static void secp256k1_ge_globalz_set_table_gej(size_t len, secp256k1_ge *r, secp256k1_fe *globalz, const secp256k1_gej *a, const secp256k1_fe *zr);
/** Set a group element (affine) equal to the point at infinity. */
static void secp256k1_ge_set_infinity(secp256k1_ge *r);
/** Set a group element (jacobian) equal to the point at infinity. */
static void secp256k1_gej_set_infinity(secp256k1_gej *r);