ees
This commit is contained in:
@@ -584,10 +584,11 @@ uint256 juint256(cJSON *obj)
|
||||
|
||||
#else
|
||||
#include "sudoku.cpp"
|
||||
#include "../secp256k1/include/secp256k1.h"
|
||||
#include "../secp256k1/src/ecmult.h"
|
||||
/*#define USE_BASIC_CONFIG
|
||||
#define ENABLE_MODULE_MUSIG
|
||||
#include "../secp256k1/src/basic-config.h"
|
||||
#include "../secp256k1/include/secp256k1.h"
|
||||
|
||||
#include "../secp256k1/src/util.h"
|
||||
#include "../secp256k1/src/num_impl.h"
|
||||
@@ -602,12 +603,7 @@ uint256 juint256(cJSON *obj)
|
||||
#include "../secp256k1/src/eckey_impl.h"
|
||||
#include "../secp256k1/src/hash_impl.h"
|
||||
|
||||
struct secp256k1_context_struct {
|
||||
secp256k1_ecmult_context ecmult_ctx;
|
||||
secp256k1_ecmult_gen_context ecmult_gen_ctx;
|
||||
secp256k1_callback illegal_callback;
|
||||
secp256k1_callback error_callback;
|
||||
};
|
||||
|
||||
|
||||
typedef int (secp256k1_ecmult_multi_callback)(secp256k1_scalar *sc, secp256k1_ge *pt, size_t idx, void *data);
|
||||
extern "C" void secp256k1_pubkey_save(secp256k1_pubkey* pubkey, secp256k1_ge* ge);
|
||||
@@ -623,6 +619,12 @@ return 0; \
|
||||
} while(0)*/
|
||||
|
||||
//#include "../secp256k1/src/secp256k1.c"
|
||||
struct secp256k1_context_struct {
|
||||
secp256k1_ecmult_context ecmult_ctx;
|
||||
secp256k1_ecmult_gen_context ecmult_gen_ctx;
|
||||
secp256k1_callback illegal_callback;
|
||||
secp256k1_callback error_callback;
|
||||
};
|
||||
extern "C" int secp256k1_ecmult_multi_var(const secp256k1_ecmult_context *ctx, secp256k1_scratch *scratch, secp256k1_gej *r, const secp256k1_scalar *inp_g_sc, secp256k1_ecmult_multi_callback cb, void *cbdata, size_t n);
|
||||
extern "C" int secp256k1_schnorrsig_verify(const secp256k1_context* ctx, const secp256k1_schnorrsig *sig, const unsigned char *msg32, const secp256k1_pubkey *pk);
|
||||
extern "C" int secp256k1_schnorrsig_parse(const secp256k1_context* ctx, secp256k1_schnorrsig* sig, const unsigned char *in64);
|
||||
|
||||
Reference in New Issue
Block a user