|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
A table of ECC operations. More...
#include <ecc_ops_table.hpp>
Public Member Functions | |
| size_t | size () const |
| size_t | num_subtables () const |
| size_t | get_current_subtable_size () const |
| auto & | get () const |
| void | push (const OpFormat &op) |
| void | create_new_subtable (size_t size_hint=0) |
| const OpFormat & | operator[] (size_t index) const |
| std::vector< OpFormat > | get_reconstructed () const |
| void | merge (MergeSettings settings=MergeSettings::PREPEND) |
Private Types | |
| using | Subtable = std::vector< OpFormat > |
Private Attributes | |
| std::deque< Subtable > | table |
| Subtable | current_subtable |
A table of ECC operations.
The table is constructed via concatenation of subtables of ECC operations. The table concatentation protocol (Merge protocol) requires that the concatenation be achieved via PRE-pending successive tables. To avoid the need for expensive memory reallocations associated with physically prepending, the subtables are stored as a std::deque that can be traversed to reconstruct the columns of the aggregate tables as needed (e.g. in corresponding polynomials).
| OpFormat | Format of the ECC operations stored in the table |
Definition at line 117 of file ecc_ops_table.hpp.
|
private |
Definition at line 118 of file ecc_ops_table.hpp.
|
inline |
Definition at line 146 of file ecc_ops_table.hpp.
|
inline |
Definition at line 137 of file ecc_ops_table.hpp.
|
inline |
Definition at line 135 of file ecc_ops_table.hpp.
|
inline |
Definition at line 169 of file ecc_ops_table.hpp.
|
inline |
Definition at line 184 of file ecc_ops_table.hpp.
|
inline |
Definition at line 134 of file ecc_ops_table.hpp.
|
inline |
Definition at line 153 of file ecc_ops_table.hpp.
Definition at line 139 of file ecc_ops_table.hpp.
|
inline |
Definition at line 122 of file ecc_ops_table.hpp.
|
private |
Definition at line 120 of file ecc_ops_table.hpp.
|
private |
Definition at line 119 of file ecc_ops_table.hpp.