|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
Layout parameters for the secp256r1 fixed-base plookup decomposition. More...
#include <secp256r1_fixed_base_params.hpp>
Static Public Member Functions | |
| static constexpr size_t | window_bits (size_t w) |
| static constexpr size_t | table_size (size_t w) |
Static Public Attributes | |
| static constexpr size_t | NUM_WINDOWS_LO = 20 |
| static constexpr size_t | NUM_WINDOWS_HI = 18 |
| static constexpr size_t | NUM_WINDOWS = NUM_WINDOWS_LO + NUM_WINDOWS_HI |
| static constexpr size_t | WINDOW_BITS = 7 |
| static constexpr size_t | WINDOW_BITS_LO_TAIL = 3 |
| static constexpr size_t | WINDOW_BITS_HI_TAIL = 1 |
| static constexpr size_t | TABLE_SIZE_BIG = 1ULL << WINDOW_BITS |
| static constexpr size_t | TABLE_SIZE_LO_TAIL = 1ULL << WINDOW_BITS_LO_TAIL |
| static constexpr size_t | TABLE_SIZE_HI_TAIL = 1ULL << WINDOW_BITS_HI_TAIL |
| static constexpr size_t | NUM_AXES = 4 |
| static constexpr size_t | LO_TAIL_WINDOW = NUM_WINDOWS_LO - 1 |
| static constexpr size_t | HI_TAIL_WINDOW = NUM_WINDOWS - 1 |
Layout parameters for the secp256r1 fixed-base plookup decomposition.
Pure numerics (window counts, bit widths, table sizes, tail positions, the bit-budget invariants, and the window_bits / table_size per-window helpers). Nothing here depends on the curve type or on BasicTableId, so this header can be included by types.hpp without pulling in secp256r1_fixed_base.hpp (which itself depends on types.hpp). table inherits from this struct so call sites continue to write table::NUM_WINDOWS, table::TABLE_SIZE_BIG, etc.
Definition at line 22 of file secp256r1_fixed_base_params.hpp.
|
inlinestaticconstexpr |
Definition at line 63 of file secp256r1_fixed_base_params.hpp.
|
inlinestaticconstexpr |
Definition at line 53 of file secp256r1_fixed_base_params.hpp.
|
staticconstexpr |
Definition at line 45 of file secp256r1_fixed_base_params.hpp.
|
staticconstexpr |
Definition at line 44 of file secp256r1_fixed_base_params.hpp.
|
staticconstexpr |
Definition at line 41 of file secp256r1_fixed_base_params.hpp.
|
staticconstexpr |
Definition at line 34 of file secp256r1_fixed_base_params.hpp.
|
staticconstexpr |
Definition at line 33 of file secp256r1_fixed_base_params.hpp.
|
staticconstexpr |
Definition at line 32 of file secp256r1_fixed_base_params.hpp.
|
staticconstexpr |
Definition at line 38 of file secp256r1_fixed_base_params.hpp.
|
staticconstexpr |
Definition at line 40 of file secp256r1_fixed_base_params.hpp.
|
staticconstexpr |
Definition at line 39 of file secp256r1_fixed_base_params.hpp.
|
staticconstexpr |
Definition at line 35 of file secp256r1_fixed_base_params.hpp.
|
staticconstexpr |
Definition at line 37 of file secp256r1_fixed_base_params.hpp.
|
staticconstexpr |
Definition at line 36 of file secp256r1_fixed_base_params.hpp.