/ src / secp256k1 / src / precomputed_ecmult_gen.h
precomputed_ecmult_gen.h
 1  /*********************************************************************************
 2   * Copyright (c) 2013, 2014, 2015, 2021 Thomas Daede, Cory Fields, Pieter Wuille *
 3   * Distributed under the MIT software license, see the accompanying              *
 4   * file COPYING or https://www.opensource.org/licenses/mit-license.php.          *
 5   *********************************************************************************/
 6  
 7  #ifndef SECP256K1_PRECOMPUTED_ECMULT_GEN_H
 8  #define SECP256K1_PRECOMPUTED_ECMULT_GEN_H
 9  
10  #ifdef __cplusplus
11  extern "C" {
12  #endif
13  
14  #include "group.h"
15  #include "ecmult_gen.h"
16  #include "util_local_visibility.h"
17  
18  #ifdef EXHAUSTIVE_TEST_ORDER
19  static secp256k1_ge_storage secp256k1_ecmult_gen_prec_table[COMB_BLOCKS][COMB_POINTS];
20  #else
21  SECP256K1_LOCAL_VAR const secp256k1_ge_storage secp256k1_ecmult_gen_prec_table[COMB_BLOCKS][COMB_POINTS];
22  #endif /* defined(EXHAUSTIVE_TEST_ORDER) */
23  
24  #ifdef __cplusplus
25  }
26  #endif
27  
28  #endif /* SECP256K1_PRECOMPUTED_ECMULT_GEN_H */