]>
Commit | Line | Data |
---|---|---|
fbecc38a TD |
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 | **********************************************************************/ | |
6 | ||
abe2d3e8 DR |
7 | #ifndef SECP256K1_BASIC_CONFIG_H |
8 | #define SECP256K1_BASIC_CONFIG_H | |
fbecc38a TD |
9 | |
10 | #ifdef USE_BASIC_CONFIG | |
11 | ||
12 | #undef USE_ASM_X86_64 | |
dbed75d9 | 13 | #undef USE_ECMULT_STATIC_PRECOMPUTATION |
fbecc38a | 14 | #undef USE_ENDOMORPHISM |
e49f7991 TR |
15 | #undef USE_EXTERNAL_ASM |
16 | #undef USE_EXTERNAL_DEFAULT_CALLBACKS | |
fbecc38a TD |
17 | #undef USE_FIELD_INV_BUILTIN |
18 | #undef USE_FIELD_INV_NUM | |
19 | #undef USE_NUM_GMP | |
20 | #undef USE_NUM_NONE | |
fbecc38a TD |
21 | #undef USE_SCALAR_INV_BUILTIN |
22 | #undef USE_SCALAR_INV_NUM | |
79f1f7a4 PW |
23 | #undef USE_FORCE_WIDEMUL_INT64 |
24 | #undef USE_FORCE_WIDEMUL_INT128 | |
dcb2e3b3 | 25 | #undef ECMULT_WINDOW_SIZE |
fbecc38a TD |
26 | |
27 | #define USE_NUM_NONE 1 | |
28 | #define USE_FIELD_INV_BUILTIN 1 | |
29 | #define USE_SCALAR_INV_BUILTIN 1 | |
79f1f7a4 | 30 | #define USE_WIDEMUL_64 1 |
2842dc52 | 31 | #define ECMULT_WINDOW_SIZE 15 |
fbecc38a | 32 | |
abe2d3e8 DR |
33 | #endif /* USE_BASIC_CONFIG */ |
34 | ||
35 | #endif /* SECP256K1_BASIC_CONFIG_H */ |