]> Git Repo - secp256k1.git/blame - src/basic-config.h
Implement endomorphism optimization for secp256k1_ecmult_const
[secp256k1.git] / src / basic-config.h
CommitLineData
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
7#ifndef _SECP256K1_BASIC_CONFIG_
8#define _SECP256K1_BASIC_CONFIG_
9
10#ifdef USE_BASIC_CONFIG
11
12#undef USE_ASM_X86_64
13#undef USE_ENDOMORPHISM
14#undef USE_FIELD_10X26
15#undef USE_FIELD_5X52
16#undef USE_FIELD_INV_BUILTIN
17#undef USE_FIELD_INV_NUM
18#undef USE_NUM_GMP
19#undef USE_NUM_NONE
20#undef USE_SCALAR_4X64
21#undef USE_SCALAR_8X32
22#undef USE_SCALAR_INV_BUILTIN
23#undef USE_SCALAR_INV_NUM
24
25#define USE_NUM_NONE 1
26#define USE_FIELD_INV_BUILTIN 1
27#define USE_SCALAR_INV_BUILTIN 1
28#define USE_FIELD_10X26 1
29#define USE_SCALAR_8X32 1
30
31#endif // USE_BASIC_CONFIG
32#endif // _SECP256K1_BASIC_CONFIG_
This page took 0.022554 seconds and 4 git commands to generate.