File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ static int secp256k1_ge_is_infinity(const secp256k1_ge *a);
59
59
/** Check whether a group element is valid (i.e., on the curve). */
60
60
static int secp256k1_ge_is_valid_var (const secp256k1_ge * a );
61
61
62
+ /** Set r equal to the inverse of a (i.e., mirrored around the X axis) */
62
63
static void secp256k1_ge_neg (secp256k1_ge * r , const secp256k1_ge * a );
63
64
64
65
/** Set a group element equal to another which is given in jacobian coordinates */
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ void random_group_element_test(secp256k1_ge *ge) {
86
86
break ;
87
87
}
88
88
} while (1 );
89
+ ge -> infinity = 0 ;
89
90
}
90
91
91
92
void random_group_element_jacobian_test (secp256k1_gej * gej , const secp256k1_ge * ge ) {
You can’t perform that action at this time.
0 commit comments