Skip to content

Commit 3086cb9

Browse files
committed
Expose secp256k1_fe_verify to other modules
1 parent a0e696f commit 3086cb9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/field.h

+5
Original file line numberDiff line numberDiff line change
@@ -143,4 +143,9 @@ static void secp256k1_fe_get_bounds(secp256k1_fe *r, int m);
143143
/** Determine whether a is a square (modulo p). */
144144
static int secp256k1_fe_is_square_var(const secp256k1_fe *a);
145145

146+
#ifdef VERIFY
147+
/** Check invariants on a field element. */
148+
static void secp256k1_fe_verify(const secp256k1_fe *a);
149+
#endif
150+
146151
#endif /* SECP256K1_FIELD_H */

0 commit comments

Comments
 (0)