![]() |
PIVX Core
5.6.99
P2P Digital Currency
|
Go to the source code of this file.
Classes | |
| struct | secp256k1_strauss_point_state |
| struct | secp256k1_strauss_state |
| struct | secp256k1_pippenger_point_state |
| struct | secp256k1_pippenger_state |
Macros | |
| #define | WINDOW_A 5 |
| #define | WINDOW_G 16 |
| larger numbers may result in slightly better performance, at the cost of exponentially larger precomputed tables. More... | |
| #define | WNAF_BITS 256 |
| #define | WNAF_SIZE_BITS(bits, w) (((bits) + (w) - 1) / (w)) |
| #define | WNAF_SIZE(w) WNAF_SIZE_BITS(WNAF_BITS, w) |
| #define | ECMULT_TABLE_SIZE(w) (1 << ((w)-2)) |
| The number of entries a table with precomputed multiples needs to have. More... | |
| #define | PIPPENGER_SCRATCH_OBJECTS 6 |
| #define | STRAUSS_SCRATCH_OBJECTS 6 |
| #define | PIPPENGER_MAX_BUCKET_WINDOW 12 |
| #define | ECMULT_PIPPENGER_THRESHOLD 160 |
| #define | ECMULT_MAX_POINTS_PER_BATCH 10000000 |
| #define | ECMULT_TABLE_GET_GE(r, pre, n, w) |
| The following two macro retrieves a particular odd multiple from a table of precomputed multiples. More... | |
| #define | ECMULT_TABLE_GET_GE_STORAGE(r, pre, n, w) |
Typedefs | |
| typedef int(* | secp256k1_ecmult_multi_func) (const secp256k1_ecmult_context *, secp256k1_scratch *, secp256k1_gej *, const secp256k1_scalar *, secp256k1_ecmult_multi_callback cb, void *, size_t) |
| #define ECMULT_MAX_POINTS_PER_BATCH 10000000 |
Definition at line 72 of file ecmult_impl.h.
| #define ECMULT_PIPPENGER_THRESHOLD 160 |
Definition at line 66 of file ecmult_impl.h.
| #define ECMULT_TABLE_GET_GE | ( | r, | |
| pre, | |||
| n, | |||
| w | |||
| ) |
The following two macro retrieves a particular odd multiple from a table of precomputed multiples.
Definition at line 162 of file ecmult_impl.h.
| #define ECMULT_TABLE_GET_GE_STORAGE | ( | r, | |
| pre, | |||
| n, | |||
| w | |||
| ) |
Definition at line 173 of file ecmult_impl.h.
| #define ECMULT_TABLE_SIZE | ( | w | ) | (1 << ((w)-2)) |
The number of entries a table with precomputed multiples needs to have.
Definition at line 54 of file ecmult_impl.h.
| #define PIPPENGER_MAX_BUCKET_WINDOW 12 |
Definition at line 60 of file ecmult_impl.h.
| #define PIPPENGER_SCRATCH_OBJECTS 6 |
Definition at line 57 of file ecmult_impl.h.
| #define STRAUSS_SCRATCH_OBJECTS 6 |
Definition at line 58 of file ecmult_impl.h.
| #define WINDOW_A 5 |
Definition at line 33 of file ecmult_impl.h.
| #define WINDOW_G 16 |
larger numbers may result in slightly better performance, at the cost of exponentially larger precomputed tables.
One table for window size 16: 1.375 MiB.
Definition at line 41 of file ecmult_impl.h.
| #define WNAF_BITS 256 |
Definition at line 48 of file ecmult_impl.h.
| #define WNAF_SIZE | ( | w | ) | WNAF_SIZE_BITS(WNAF_BITS, w) |
Definition at line 51 of file ecmult_impl.h.
| #define WNAF_SIZE_BITS | ( | bits, | |
| w | |||
| ) | (((bits) + (w) - 1) / (w)) |
Definition at line 50 of file ecmult_impl.h.
| typedef int(* secp256k1_ecmult_multi_func) (const secp256k1_ecmult_context *, secp256k1_scratch *, secp256k1_gej *, const secp256k1_scalar *, secp256k1_ecmult_multi_callback cb, void *, size_t) |
Definition at line 975 of file ecmult_impl.h.