1 /**********************************************************************
2 * Copyright (c) 2013, 2014 Pieter Wuille *
3 * Distributed under the MIT software license, see the accompanying *
4 * file COPYING or http://www.opensource.org/licenses/mit-license.php.*
5 **********************************************************************/
7 #ifndef SECP256K1_BASIC_CONFIG_H
8 #define SECP256K1_BASIC_CONFIG_H
10 #ifdef USE_BASIC_CONFIG
13 #undef USE_ECMULT_STATIC_PRECOMPUTATION
14 #undef USE_ENDOMORPHISM
15 #undef USE_EXTERNAL_ASM
16 #undef USE_EXTERNAL_DEFAULT_CALLBACKS
17 #undef USE_FIELD_INV_BUILTIN
18 #undef USE_FIELD_INV_NUM
21 #undef USE_SCALAR_INV_BUILTIN
22 #undef USE_SCALAR_INV_NUM
23 #undef USE_FORCE_WIDEMUL_INT64
24 #undef USE_FORCE_WIDEMUL_INT128
25 #undef ECMULT_WINDOW_SIZE
27 #define USE_NUM_NONE 1
28 #define USE_FIELD_INV_BUILTIN 1
29 #define USE_SCALAR_INV_BUILTIN 1
30 #define USE_WIDEMUL_64 1
31 #define ECMULT_WINDOW_SIZE 15
33 #endif /* USE_BASIC_CONFIG */
35 #endif /* SECP256K1_BASIC_CONFIG_H */