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
429 B
20 lines
429 B
11 years ago
|
// 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..4, elem[i]*2^52) mod n
|
||
|
uint64_t n[5];
|
||
|
#ifdef VERIFY
|
||
|
int magnitude;
|
||
|
int normalized;
|
||
|
#endif
|
||
|
} secp256k1_fe_t;
|
||
|
|
||
|
#endif
|