38 lines
1.1 KiB
C
38 lines
1.1 KiB
C
/**********************************************************************
|
|
* 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.*
|
|
**********************************************************************/
|
|
|
|
#ifndef SECP256K1_BASIC_CONFIG_H
|
|
#define SECP256K1_BASIC_CONFIG_H
|
|
|
|
#ifdef USE_BASIC_CONFIG
|
|
|
|
#undef USE_ASM_X86_64
|
|
#undef USE_ECMULT_STATIC_PRECOMPUTATION
|
|
#undef USE_ENDOMORPHISM
|
|
#undef USE_EXTERNAL_ASM
|
|
#undef USE_EXTERNAL_DEFAULT_CALLBACKS
|
|
#undef USE_FIELD_10X26
|
|
#undef USE_FIELD_5X52
|
|
#undef USE_FIELD_INV_BUILTIN
|
|
#undef USE_FIELD_INV_NUM
|
|
#undef USE_NUM_GMP
|
|
#undef USE_NUM_NONE
|
|
#undef USE_SCALAR_4X64
|
|
#undef USE_SCALAR_8X32
|
|
#undef USE_SCALAR_INV_BUILTIN
|
|
#undef USE_SCALAR_INV_NUM
|
|
|
|
#define USE_NUM_NONE 1
|
|
#define USE_FIELD_INV_BUILTIN 1
|
|
#define USE_SCALAR_INV_BUILTIN 1
|
|
#define USE_FIELD_10X26 1
|
|
#define USE_SCALAR_8X32 1
|
|
#define ECMULT_WINDOW_SIZE 15
|
|
|
|
#endif /* USE_BASIC_CONFIG */
|
|
|
|
#endif /* SECP256K1_BASIC_CONFIG_H */
|