]>
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_10X26 |
18 | #undef USE_FIELD_5X52 | |
19 | #undef USE_FIELD_INV_BUILTIN | |
20 | #undef USE_FIELD_INV_NUM | |
21 | #undef USE_NUM_GMP | |
22 | #undef USE_NUM_NONE | |
23 | #undef USE_SCALAR_4X64 | |
24 | #undef USE_SCALAR_8X32 | |
25 | #undef USE_SCALAR_INV_BUILTIN | |
26 | #undef USE_SCALAR_INV_NUM | |
dcb2e3b3 | 27 | #undef ECMULT_WINDOW_SIZE |
fbecc38a TD |
28 | |
29 | #define USE_NUM_NONE 1 | |
30 | #define USE_FIELD_INV_BUILTIN 1 | |
31 | #define USE_SCALAR_INV_BUILTIN 1 | |
32 | #define USE_FIELD_10X26 1 | |
33 | #define USE_SCALAR_8X32 1 | |
2842dc52 | 34 | #define ECMULT_WINDOW_SIZE 15 |
fbecc38a | 35 | |
abe2d3e8 DR |
36 | #endif /* USE_BASIC_CONFIG */ |
37 | ||
38 | #endif /* SECP256K1_BASIC_CONFIG_H */ |