7 #ifndef SECP256K1_FIELD_H 8 #define SECP256K1_FIELD_H 21 #if defined HAVE_CONFIG_H 25 #if defined(USE_FIELD_10X26) 27 #elif defined(USE_FIELD_5X52) 30 #error "Please select field implementation" 39 static void secp256k1_fe_normalize_weak(
secp256k1_fe *r);
46 static int secp256k1_fe_normalizes_to_zero(
secp256k1_fe *r);
50 static int secp256k1_fe_normalizes_to_zero_var(
secp256k1_fe *r);
53 static void secp256k1_fe_set_int(
secp256k1_fe *r,
int a);
74 static int secp256k1_fe_set_b32(
secp256k1_fe *r,
const unsigned char *a);
77 static void secp256k1_fe_get_b32(
unsigned char *r,
const secp256k1_fe *a);
85 static void secp256k1_fe_mul_int(
secp256k1_fe *r,
int a);
106 static int secp256k1_fe_is_quad_var(
const secp256k1_fe *a);
#define SECP256K1_RESTRICT