Bitcoin Core
28.99.0
P2P Digital Currency
Toggle main menu visibility
Main Page
Modules
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
z
Typedefs
b
c
e
f
i
k
l
m
n
o
p
s
t
v
w
Enumerations
a
b
c
d
e
f
i
l
m
p
r
s
t
u
w
Enumerator
a
b
c
d
e
f
h
i
l
m
n
p
q
r
s
t
u
v
w
z
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
!
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
~
Variables
!
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerations
a
b
c
d
e
f
m
o
r
s
t
u
v
w
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Properties
Related Functions
a
b
c
d
e
f
i
l
m
o
p
r
s
t
u
v
w
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
Typedefs
b
c
d
e
f
h
l
m
n
p
r
s
t
u
v
w
Enumerations
b
c
d
e
f
g
h
i
j
m
n
o
p
r
s
t
v
Enumerator
a
b
c
d
e
g
h
i
j
l
m
n
o
p
r
s
t
u
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
p
q
r
s
t
u
v
w
x
y
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
Concepts
src
secp256k1
src
precomputed_ecmult.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_PRECOMPUTED_ECMULT_H
8
#define SECP256K1_PRECOMPUTED_ECMULT_H
9
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
13
14
#include "
ecmult.h
"
15
#include "
group.h
"
16
#if defined(EXHAUSTIVE_TEST_ORDER)
17
# if EXHAUSTIVE_TEST_ORDER == 7
18
# define WINDOW_G 3
19
# elif EXHAUSTIVE_TEST_ORDER == 13
20
# define WINDOW_G 4
21
# elif EXHAUSTIVE_TEST_ORDER == 199
22
# define WINDOW_G 8
23
# else
24
# error No known generator for the specified exhaustive test group order.
25
# endif
26
static
secp256k1_ge_storage
secp256k1_pre_g
[
ECMULT_TABLE_SIZE
(
WINDOW_G
)];
27
static
secp256k1_ge_storage
secp256k1_pre_g_128
[
ECMULT_TABLE_SIZE
(
WINDOW_G
)];
28
#else
/* !defined(EXHAUSTIVE_TEST_ORDER) */
29
# define WINDOW_G ECMULT_WINDOW_SIZE
30
extern
const
secp256k1_ge_storage
secp256k1_pre_g
[
ECMULT_TABLE_SIZE
(
WINDOW_G
)];
31
extern
const
secp256k1_ge_storage
secp256k1_pre_g_128
[
ECMULT_TABLE_SIZE
(
WINDOW_G
)];
32
#endif
/* defined(EXHAUSTIVE_TEST_ORDER) */
33
34
#ifdef __cplusplus
35
}
36
#endif
37
38
#endif
/* SECP256K1_PRECOMPUTED_ECMULT_H */
ecmult.h
ECMULT_TABLE_SIZE
#define ECMULT_TABLE_SIZE(w)
The number of entries a table with precomputed multiples needs to have.
Definition:
ecmult.h:41
group.h
secp256k1_pre_g_128
const secp256k1_ge_storage secp256k1_pre_g_128[ECMULT_TABLE_SIZE(WINDOW_G)]
Definition:
precomputed_ecmult.c:8236
secp256k1_pre_g
const secp256k1_ge_storage secp256k1_pre_g[ECMULT_TABLE_SIZE(WINDOW_G)]
Definition:
precomputed_ecmult.c:16
WINDOW_G
#define WINDOW_G
Definition:
precomputed_ecmult.h:29
secp256k1_ge_storage
Definition:
group.h:38
Generated on Mon Dec 23 2024 20:00:10 for Bitcoin Core by
1.9.4