PRCYCoin  2.0.0.7rc1
P2P Digital Currency
field_gmp.h
Go to the documentation of this file.
1 /**********************************************************************
2  * Copyright (c) 2013, 2014 Pieter Wuille *
3  * Distributed under the MIT software license, see the accompanying *
4  * file COPYING or http://www.opensource.org/licenses/mit-license.php.*
5  **********************************************************************/
6 
7 #ifndef _SECP256K1_FIELD_REPR_
8 #define _SECP256K1_FIELD_REPR_
9 
10 #include <gmp.h>
11 
12 #define FIELD_LIMBS ((256 + GMP_NUMB_BITS - 1) / GMP_NUMB_BITS)
13 
14 typedef struct {
15  mp_limb_t n[FIELD_LIMBS+1];
17 
18 #endif
FIELD_LIMBS
#define FIELD_LIMBS
Definition: field_gmp.h:12
secp256k1_fe_t
Definition: field_10x26.h:12