Hush Full Node software. We were censored from Github, this is where all development happens now.
https://hush.is
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
619 B
20 lines
619 B
/**********************************************************************
|
|
* Copyright (c) 2013, 2014 Pieter Wuille *
|
|
* Distributed under the MIT software license, see the accompanying *
|
|
* file COPYING or https://www.gnu.org/licenses/gpl-3.0.en.html*
|
|
**********************************************************************/
|
|
|
|
#ifndef SECP256K1_NUM_REPR_H
|
|
#define SECP256K1_NUM_REPR_H
|
|
|
|
#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;
|
|
|
|
#endif /* SECP256K1_NUM_REPR_H */
|
|
|