mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-29 12:37:30 -03:00
19 lines
430 B
C
19 lines
430 B
C
// Copyright (c) 2013 Pieter Wuille
|
|
// Distributed under the MIT/X11 software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#ifndef _SECP256K1_FIELD_REPR_
|
|
#define _SECP256K1_FIELD_REPR_
|
|
|
|
#include <stdint.h>
|
|
|
|
typedef struct {
|
|
// X = sum(i=0..9, elem[i]*2^26) mod n
|
|
uint32_t n[10];
|
|
#ifdef VERIFY
|
|
int magnitude;
|
|
int normalized;
|
|
#endif
|
|
} secp256k1_fe_t;
|
|
|
|
#endif
|