0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-03 09:56:38 -05:00

simple makefile

This commit is contained in:
Pieter Wuille 2013-03-13 23:42:39 +01:00
parent d1fdf30dcc
commit 7b292b8108
2 changed files with 7 additions and 2 deletions

View file

@ -369,7 +369,7 @@ const FieldConstants &GetFieldConst() {
}
void FieldElem::SetInverse(Context &ctx, FieldElem &a) {
#if 0
#if defined(USE_FIELDINVERSE_BUILTIN)
// calculate a^p, with p={45,63,1019,1023}
FieldElem a2; a2.SetSquare(a);
FieldElem a3; a3.SetMult(a2,a);

7
num.h
View file

@ -1,7 +1,12 @@
#ifndef _SECP256K1_NUM_
#define _SECP256K1_NUM_
// #include "num_gmp.h"
#if defined(USE_NUM_GMP)
#include "num_gmp.h"
#elif defined(USE_NUM_OPENSSL)
#include "num_openssl.h"
#else
#error "Please select num implementation"
#endif
#endif