|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <trace_to_polynomials.hpp>
Static Public Member Functions | |
| static void | populate (Builder &builder, ProverPolynomials &) |
| Given a circuit, populate a proving key with wire polys, selector polys, and sigma/id polys. | |
Static Public Attributes | |
| static constexpr size_t | NUM_WIRES = Builder::NUM_WIRES |
Private Types | |
| using | Builder = typename Flavor::CircuitBuilder |
| using | Polynomial = typename Flavor::Polynomial |
| using | FF = typename Flavor::FF |
| using | ExecutionTrace = typename Builder::ExecutionTrace |
| using | Wires = std::array< std::vector< uint32_t >, Builder::NUM_WIRES > |
| using | ProverPolynomials = typename Flavor::ProverPolynomials |
Static Private Member Functions | |
| static std::vector< CyclicPermutation > | populate_wires_and_selectors_and_compute_copy_cycles (Builder &builder, ProverPolynomials &) |
| Populate wire polynomials, selector polynomials and copy cycles from raw circuit data. | |
| static void | add_ecc_op_wires_to_prover_instance (Builder &builder, ProverPolynomials &) |
| Construct and add the goblin ecc op wires to the proving key. | |
Definition at line 15 of file trace_to_polynomials.hpp.
|
private |
Definition at line 16 of file trace_to_polynomials.hpp.
|
private |
Definition at line 19 of file trace_to_polynomials.hpp.
|
private |
Definition at line 18 of file trace_to_polynomials.hpp.
|
private |
Definition at line 17 of file trace_to_polynomials.hpp.
|
private |
Definition at line 21 of file trace_to_polynomials.hpp.
|
private |
Definition at line 20 of file trace_to_polynomials.hpp.
|
staticprivate |
Construct and add the goblin ecc op wires to the proving key.
The ecc op wires vanish everywhere except on the ecc op block, where they contain a copy of the ecc op data assumed already to be present in the corrresponding block of the conventional wires in the proving key.
Definition at line 93 of file trace_to_polynomials.cpp.
|
static |
Given a circuit, populate a proving key with wire polys, selector polys, and sigma/id polys.
| builder |
Definition at line 19 of file trace_to_polynomials.cpp.
|
staticprivate |
Populate wire polynomials, selector polynomials and copy cycles from raw circuit data.
Definition at line 41 of file trace_to_polynomials.cpp.
|
staticconstexpr |
Definition at line 24 of file trace_to_polynomials.hpp.