Fabcoin Core
0.16.2
P2P Digital Currency
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
src
secp256k1
src
num_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_NUM_REPR_H
8
#define SECP256K1_NUM_REPR_H
9
10
#include <gmp.h>
11
12
#define NUM_LIMBS ((256+GMP_NUMB_BITS-1)/GMP_NUMB_BITS)
13
14
typedef
struct
{
15
mp_limb_t
data
[2*
NUM_LIMBS
];
16
int
neg
;
17
int
limbs
;
18
}
secp256k1_num
;
19
20
#endif
/* SECP256K1_NUM_REPR_H */
NUM_LIMBS
#define NUM_LIMBS
Definition:
num_gmp.h:12
secp256k1_num::neg
int neg
Definition:
num_gmp.h:16
secp256k1_num
Definition:
num_gmp.h:14
secp256k1_num::limbs
int limbs
Definition:
num_gmp.h:17
data
uint8_t const * data
Definition:
sha3.h:19
Generated on Mon Oct 22 2018 15:15:39 for Fabcoin Core by
1.8.11