precomputed_ecmult_gen.h (1092B)
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 #ifdef EXHAUSTIVE_TEST_ORDER 17 static haskellsecp256k1_v0_1_0_ge_storage haskellsecp256k1_v0_1_0_ecmult_gen_prec_table[ECMULT_GEN_PREC_N(ECMULT_GEN_PREC_BITS)][ECMULT_GEN_PREC_G(ECMULT_GEN_PREC_BITS)]; 18 #else 19 extern const haskellsecp256k1_v0_1_0_ge_storage haskellsecp256k1_v0_1_0_ecmult_gen_prec_table[ECMULT_GEN_PREC_N(ECMULT_GEN_PREC_BITS)][ECMULT_GEN_PREC_G(ECMULT_GEN_PREC_BITS)]; 20 #endif /* defined(EXHAUSTIVE_TEST_ORDER) */ 21 22 #ifdef __cplusplus 23 } 24 #endif 25 26 #endif /* SECP256K1_PRECOMPUTED_ECMULT_GEN_H */