Bitcoin Core  24.99.0
P2P Digital Currency
ecmult_compute_table.h
Go to the documentation of this file.
1 /*****************************************************************************************************
2  * Copyright (c) 2013, 2014, 2017, 2021 Pieter Wuille, Andrew Poelstra, Jonas Nick, Russell O'Connor *
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_ECMULT_COMPUTE_TABLE_H
8 #define SECP256K1_ECMULT_COMPUTE_TABLE_H
9 
10 /* Construct table of all odd multiples of gen in range 1..(2**(window_g-1)-1). */
11 static void secp256k1_ecmult_compute_table(secp256k1_ge_storage* table, int window_g, const secp256k1_gej* gen);
12 
13 /* Like secp256k1_ecmult_compute_table, but one for both gen and gen*2^128. */
14 static void secp256k1_ecmult_compute_two_tables(secp256k1_ge_storage* table, secp256k1_ge_storage* table_128, int window_g, const secp256k1_ge* gen);
15 
16 #endif /* SECP256K1_ECMULT_COMPUTE_TABLE_H */
static void secp256k1_ecmult_compute_table(secp256k1_ge_storage *table, int window_g, const secp256k1_gej *gen)
static void secp256k1_ecmult_compute_two_tables(secp256k1_ge_storage *table, secp256k1_ge_storage *table_128, int window_g, const secp256k1_ge *gen)
A group element in affine coordinates on the secp256k1 curve, or occasionally on an isomorphic curve ...
Definition: group.h:16
A group element of the secp256k1 curve, in jacobian coordinates.
Definition: group.h:28