github.com/digdeepmining/go-atheios@v1.5.13-0.20180902133602-d5687a2e6f43/crypto/secp256k1/libsecp256k1/src/basic-config.h (about)

     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_