secp256k1-zkp/src/field_10x26.h

16 lines
250 B
C
Raw Normal View History

#ifndef _SECP256K1_FIELD_REPR_
#define _SECP256K1_FIELD_REPR_
2013-04-02 00:10:14 +02:00
#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