Changeset View
Changeset View
Standalone View
Standalone View
src/secp256k1/src/gen_context.c
/********************************************************************** | /********************************************************************** | ||||
* Copyright (c) 2013, 2014, 2015 Thomas Daede, Cory Fields * | * Copyright (c) 2013, 2014, 2015 Thomas Daede, Cory Fields * | ||||
* Distributed under the MIT software license, see the accompanying * | * Distributed under the MIT software license, see the accompanying * | ||||
* file COPYING or http://www.opensource.org/licenses/mit-license.php.* | * file COPYING or http://www.opensource.org/licenses/mit-license.php.* | ||||
**********************************************************************/ | **********************************************************************/ | ||||
/* Autotools creates libsecp256k1-config.h, of which ECMULT_GEN_PREC_BITS is needed. */ | /* Autotools creates libsecp256k1-config.h, of which ECMULT_GEN_PREC_BITS is needed. */ | ||||
/* ifndef guard so downstream users can define their own if they do not use autotools. */ | /* ifndef guard so downstream users can define their own if they do not use autotools. */ | ||||
#if !defined(ECMULT_GEN_PREC_BITS) | #if !defined(ECMULT_GEN_PREC_BITS) | ||||
#include "libsecp256k1-config.h" | #include "libsecp256k1-config.h" | ||||
#endif | #endif | ||||
#define USE_BASIC_CONFIG 1 | #define USE_BASIC_CONFIG 1 | ||||
#include "basic-config.h" | #include "basic-config.h" | ||||
#include "include/secp256k1.h" | #include "include/secp256k1.h" | ||||
#include "assumptions.h" | |||||
#include "util.h" | #include "util.h" | ||||
#include "field_impl.h" | #include "field_impl.h" | ||||
#include "scalar_impl.h" | #include "scalar_impl.h" | ||||
#include "group_impl.h" | #include "group_impl.h" | ||||
#include "ecmult_gen_impl.h" | #include "ecmult_gen_impl.h" | ||||
static void default_error_callback_fn(const char* str, void* data) { | static void default_error_callback_fn(const char* str, void* data) { | ||||
(void)data; | (void)data; | ||||
▲ Show 20 Lines • Show All 64 Lines • Show Last 20 Lines |