2015-10-26 14:54:21 +00:00
|
|
|
/**********************************************************************
|
|
|
|
* Copyright (c) 2013, 2014 Pieter Wuille *
|
|
|
|
* Distributed under the MIT software license, see the accompanying *
|
|
|
|
* file COPYING or http://www.opensource.org/licenses/mit-license.php.*
|
|
|
|
**********************************************************************/
|
|
|
|
|
2018-07-09 11:17:44 +00:00
|
|
|
#ifndef SECP256K1_BASIC_CONFIG_H
|
|
|
|
#define SECP256K1_BASIC_CONFIG_H
|
2015-10-26 14:54:21 +00:00
|
|
|
|
|
|
|
#ifdef USE_BASIC_CONFIG
|
|
|
|
|
|
|
|
#undef USE_ASM_X86_64
|
2019-05-28 12:23:28 +00:00
|
|
|
#undef USE_ECMULT_STATIC_PRECOMPUTATION
|
2015-10-26 14:54:21 +00:00
|
|
|
#undef USE_ENDOMORPHISM
|
2019-05-28 12:23:28 +00:00
|
|
|
#undef USE_EXTERNAL_ASM
|
|
|
|
#undef USE_EXTERNAL_DEFAULT_CALLBACKS
|
2015-10-26 14:54:21 +00:00
|
|
|
#undef USE_FIELD_INV_BUILTIN
|
|
|
|
#undef USE_FIELD_INV_NUM
|
|
|
|
#undef USE_NUM_GMP
|
|
|
|
#undef USE_NUM_NONE
|
|
|
|
#undef USE_SCALAR_INV_BUILTIN
|
|
|
|
#undef USE_SCALAR_INV_NUM
|
2020-08-26 17:35:27 +00:00
|
|
|
#undef USE_FORCE_WIDEMUL_INT64
|
|
|
|
#undef USE_FORCE_WIDEMUL_INT128
|
|
|
|
#undef ECMULT_WINDOW_SIZE
|
2015-10-26 14:54:21 +00:00
|
|
|
|
|
|
|
#define USE_NUM_NONE 1
|
|
|
|
#define USE_FIELD_INV_BUILTIN 1
|
|
|
|
#define USE_SCALAR_INV_BUILTIN 1
|
2020-08-26 17:35:27 +00:00
|
|
|
#define USE_WIDEMUL_64 1
|
2019-05-28 12:23:28 +00:00
|
|
|
#define ECMULT_WINDOW_SIZE 15
|
2015-10-26 14:54:21 +00:00
|
|
|
|
2018-07-09 11:17:44 +00:00
|
|
|
#endif /* USE_BASIC_CONFIG */
|
|
|
|
|
|
|
|
#endif /* SECP256K1_BASIC_CONFIG_H */
|