@@ -98,18 +98,18 @@ static int secp256k1_gej_has_quad_y_var(const secp256k1_gej *a);
9898/** Set r equal to the double of a, a cannot be infinity. Constant time. */
9999static void secp256k1_gej_double_nonzero (secp256k1_gej * r , const secp256k1_gej * a );
100100
101- /** Set r equal to the double of a. If rzr is not-NULL, r->z = a->z * *rzr (where infinity means an implicit z = 0). */
101+ /** Set r equal to the double of a. If rzr is not-NULL this sets *rzr such that r->z = = a->z * *rzr (where infinity means an implicit z = 0). */
102102static void secp256k1_gej_double_var (secp256k1_gej * r , const secp256k1_gej * a , secp256k1_fe * rzr );
103103
104- /** Set r equal to the sum of a and b. If rzr is non-NULL, r->z = a->z * *rzr (a cannot be infinity in that case). */
104+ /** Set r equal to the sum of a and b. If rzr is non-NULL this sets *rzr such that r->z = = a->z * *rzr (a cannot be infinity in that case). */
105105static void secp256k1_gej_add_var (secp256k1_gej * r , const secp256k1_gej * a , const secp256k1_gej * b , secp256k1_fe * rzr );
106106
107107/** Set r equal to the sum of a and b (with b given in affine coordinates, and not infinity). */
108108static void secp256k1_gej_add_ge (secp256k1_gej * r , const secp256k1_gej * a , const secp256k1_ge * b );
109109
110110/** Set r equal to the sum of a and b (with b given in affine coordinates). This is more efficient
111111 than secp256k1_gej_add_var. It is identical to secp256k1_gej_add_ge but without constant-time
112- guarantee, and b is allowed to be infinity. If rzr is non-NULL, r->z = a->z * *rzr (a cannot be infinity in that case). */
112+ guarantee, and b is allowed to be infinity. If rzr is non-NULL this sets *rzr such that r->z = = a->z * *rzr (a cannot be infinity in that case). */
113113static void secp256k1_gej_add_ge_var (secp256k1_gej * r , const secp256k1_gej * a , const secp256k1_ge * b , secp256k1_fe * rzr );
114114
115115/** Set r equal to the sum of a and b (with the inverse of b's Z coordinate passed as bzinv). */
0 commit comments