2021-12-17 13:50:39 -05:00
|
|
|
/*********************************************************************************
|
|
|
|
* Copyright (c) 2013, 2014, 2015, 2021 Thomas Daede, Cory Fields, Pieter Wuille *
|
|
|
|
* Distributed under the MIT software license, see the accompanying *
|
|
|
|
* file COPYING or https://www.opensource.org/licenses/mit-license.php. *
|
|
|
|
*********************************************************************************/
|
|
|
|
|
2021-12-17 11:23:51 -05:00
|
|
|
#ifndef SECP256K1_PRECOMPUTED_ECMULT_GEN_H
|
|
|
|
#define SECP256K1_PRECOMPUTED_ECMULT_GEN_H
|
2021-12-17 14:34:15 -05:00
|
|
|
|
2021-08-27 17:53:44 +02:00
|
|
|
#include "group.h"
|
2021-12-17 13:50:39 -05:00
|
|
|
#include "ecmult_gen.h"
|
2021-08-27 17:53:44 +02:00
|
|
|
#ifdef EXHAUSTIVE_TEST_ORDER
|
|
|
|
static secp256k1_ge_storage secp256k1_ecmult_gen_prec_table[ECMULT_GEN_PREC_N(ECMULT_GEN_PREC_BITS)][ECMULT_GEN_PREC_G(ECMULT_GEN_PREC_BITS)];
|
|
|
|
#else
|
2021-12-17 13:50:39 -05:00
|
|
|
extern const secp256k1_ge_storage secp256k1_ecmult_gen_prec_table[ECMULT_GEN_PREC_N(ECMULT_GEN_PREC_BITS)][ECMULT_GEN_PREC_G(ECMULT_GEN_PREC_BITS)];
|
|
|
|
#endif /* defined(EXHAUSTIVE_TEST_ORDER) */
|
2021-12-17 14:34:15 -05:00
|
|
|
|
2021-12-17 11:23:51 -05:00
|
|
|
#endif /* SECP256K1_PRECOMPUTED_ECMULT_GEN_H */
|