2022-03-08 19:45:41 +00: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. *
|
|
|
|
*********************************************************************************/
|
|
|
|
|
|
|
|
#ifndef SECP256K1_PRECOMPUTED_ECMULT_GEN_H
|
|
|
|
#define SECP256K1_PRECOMPUTED_ECMULT_GEN_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include "group.h"
|
|
|
|
#include "ecmult_gen.h"
|
|
|
|
#ifdef EXHAUSTIVE_TEST_ORDER
|
2022-11-30 23:38:26 +00:00
|
|
|
static rustsecp256k1_v0_7_0_ge_storage rustsecp256k1_v0_7_0_ecmult_gen_prec_table[ECMULT_GEN_PREC_N(ECMULT_GEN_PREC_BITS)][ECMULT_GEN_PREC_G(ECMULT_GEN_PREC_BITS)];
|
2022-03-08 19:45:41 +00:00
|
|
|
#else
|
2022-11-30 23:38:26 +00:00
|
|
|
extern const rustsecp256k1_v0_7_0_ge_storage rustsecp256k1_v0_7_0_ecmult_gen_prec_table[ECMULT_GEN_PREC_N(ECMULT_GEN_PREC_BITS)][ECMULT_GEN_PREC_G(ECMULT_GEN_PREC_BITS)];
|
2022-03-08 19:45:41 +00:00
|
|
|
#endif /* defined(EXHAUSTIVE_TEST_ORDER) */
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* SECP256K1_PRECOMPUTED_ECMULT_GEN_H */
|