From 3086cb90acd9d61c5b38e862877fdeacaff74a50 Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Tue, 1 Sep 2020 16:33:22 -0700 Subject: [PATCH] Expose secp256k1_fe_verify to other modules --- src/field.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/field.h b/src/field.h index c7a88c4e..62dc0f3a 100644 --- a/src/field.h +++ b/src/field.h @@ -143,4 +143,9 @@ static void secp256k1_fe_get_bounds(secp256k1_fe *r, int m); /** Determine whether a is a square (modulo p). */ static int secp256k1_fe_is_square_var(const secp256k1_fe *a); +#ifdef VERIFY +/** Check invariants on a field element. */ +static void secp256k1_fe_verify(const secp256k1_fe *a); +#endif + #endif /* SECP256K1_FIELD_H */