2013-04-05 00:09:37 +00:00
|
|
|
#ifndef _SECP256K1_FIELD_REPR_
|
|
|
|
#define _SECP256K1_FIELD_REPR_
|
2013-04-03 01:43:14 +00:00
|
|
|
|
|
|
|
#include <gmp.h>
|
|
|
|
|
|
|
|
#define FIELD_LIMBS ((256 + GMP_NUMB_BITS - 1) / GMP_NUMB_BITS)
|
|
|
|
|
|
|
|
typedef struct {
|
|
|
|
mp_limb_t n[FIELD_LIMBS+1];
|
|
|
|
} secp256k1_fe_t;
|
|
|
|
|
|
|
|
#endif
|