Centralize the definition of uint128_t and use it uniformly.

This needs to be renamed along with the other _t types, because _t
 is reserved.  But that will be done later.
This commit is contained in:
Gregory Maxwell
2015-01-25 03:41:59 +00:00
parent d9543c904f
commit 4be8d6fc42
3 changed files with 48 additions and 46 deletions

View File

@@ -7,8 +7,6 @@
#ifndef _SECP256K1_SCALAR_REPR_IMPL_H_
#define _SECP256K1_SCALAR_REPR_IMPL_H_
typedef unsigned __int128 uint128_t;
/* Limbs of the secp256k1 order. */
#define SECP256K1_N_0 ((uint64_t)0xBFD25E8CD0364141ULL)
#define SECP256K1_N_1 ((uint64_t)0xBAAEDCE6AF48A03BULL)