Make secp256k1_{fe,ge,gej}_verify work as no-op if non-VERIFY
This commit is contained in:
@@ -164,12 +164,10 @@ static void secp256k1_gej_rescale(secp256k1_gej *r, const secp256k1_fe *b);
|
||||
*/
|
||||
static int secp256k1_ge_is_in_correct_subgroup(const secp256k1_ge* ge);
|
||||
|
||||
#ifdef VERIFY
|
||||
/** Check invariants on an affine group element. */
|
||||
/** Check invariants on an affine group element (no-op unless VERIFY is enabled). */
|
||||
static void secp256k1_ge_verify(const secp256k1_ge *a);
|
||||
|
||||
/** Check invariants on a Jacobian group element. */
|
||||
/** Check invariants on a Jacobian group element (no-op unless VERIFY is enabled). */
|
||||
static void secp256k1_gej_verify(const secp256k1_gej *a);
|
||||
#endif
|
||||
|
||||
#endif /* SECP256K1_GROUP_H */
|
||||
|
||||
Reference in New Issue
Block a user