From 482e4a9cfcecad28c3b7e601667b3b41949f47fe Mon Sep 17 00:00:00 2001 From: Russell O'Connor Date: Sat, 23 Jan 2021 19:12:19 -0500 Subject: [PATCH] Add missing secp256k1_ge_set_gej_var decl. --- src/group.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/group.h b/src/group.h index 426c286..40bf961 100644 --- a/src/group.h +++ b/src/group.h @@ -62,9 +62,12 @@ static int secp256k1_ge_is_valid_var(const secp256k1_ge *a); /** Set r equal to the inverse of a (i.e., mirrored around the X axis) */ static void secp256k1_ge_neg(secp256k1_ge *r, const secp256k1_ge *a); -/** Set a group element equal to another which is given in jacobian coordinates */ +/** Set a group element equal to another which is given in jacobian coordinates. Constant time. */ static void secp256k1_ge_set_gej(secp256k1_ge *r, secp256k1_gej *a); +/** Set a group element equal to another which is given in jacobian coordinates. */ +static void secp256k1_ge_set_gej_var(secp256k1_ge *r, secp256k1_gej *a); + /** Set a batch of group elements equal to the inputs given in jacobian coordinates */ static void secp256k1_ge_set_all_gej_var(secp256k1_ge *r, const secp256k1_gej *a, size_t len);