mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-15 06:12:37 -03:00
14 lines
239 B
C
14 lines
239 B
C
#ifndef _SECP256K1_NUM_REPR_
|
|
#define _SECP256K1_NUM_REPR_
|
|
|
|
#include <gmp.h>
|
|
|
|
#define NUM_LIMBS ((256+GMP_NUMB_BITS-1)/GMP_NUMB_BITS)
|
|
|
|
typedef struct {
|
|
mp_limb_t data[2*NUM_LIMBS];
|
|
int neg;
|
|
int limbs;
|
|
} secp256k1_num_t;
|
|
|
|
#endif
|