Skip to content

Commit

Permalink
fixup! group: Add constant-time secp256k1_ge_set_all_gej
Browse files Browse the repository at this point in the history
  • Loading branch information
real-or-random committed Oct 8, 2024
1 parent f85b20f commit 0cae14b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/group.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,11 @@ static void secp256k1_ge_set_gej(secp256k1_ge *r, secp256k1_gej *a);
static void secp256k1_ge_set_gej_var(secp256k1_ge *r, secp256k1_gej *a);

/** Set group elements r[0..len] (affine) equal to group elements a[0..len] (jacobian).
* None of the group elements in a[0..len] may be infinity. */
* No group element in a[0..len] may be infinity. */
static void secp256k1_ge_set_all_gej(secp256k1_ge *r, const secp256k1_gej *a, size_t len);

/** Set group elements r[0..len] (affine) equal to group elements a[0..len] (jacobian).
* None of the group elements in a[0..len] may be infinity. Constant time. */
* No group element in a[0..len] may be infinity. Constant time. */
static void secp256k1_ge_set_all_gej_var(secp256k1_ge *r, const secp256k1_gej *a, size_t len);

/** Bring a batch of inputs to the same global z "denominator", based on ratios between
Expand Down

0 comments on commit 0cae14b

Please sign in to comment.