Bitcoin Core
26.99.0
P2P Digital Currency
src
secp256k1
src
precomputed_ecmult_gen.h
Go to the documentation of this file.
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
secp256k1_ge_storage
secp256k1_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
secp256k1_ge_storage
secp256k1_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 */
ecmult_gen.h
ECMULT_GEN_PREC_G
#define ECMULT_GEN_PREC_G(bits)
Definition:
ecmult_gen.h:28
ECMULT_GEN_PREC_BITS
#define ECMULT_GEN_PREC_BITS
Definition:
ecmult_gen.h:14
ECMULT_GEN_PREC_N
#define ECMULT_GEN_PREC_N(bits)
Definition:
ecmult_gen.h:29
group.h
secp256k1_ecmult_gen_prec_table
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)]
Definition:
precomputed_ecmult_gen.c:10
secp256k1_ge_storage
Definition:
group.h:38
Generated on Tue Dec 5 2023 02:43:24 for Bitcoin Core by
1.9.1