|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
The class parametrizing BigGroup fuzzing instructions, execution, etc. More...
#include <biggroup.fuzzer.hpp>
Classes | |
| class | ArgSizes |
| class | ExecutionHandler |
| This class implements the execution of biggroup with an oracle to detect discrepancies. More... | |
| class | Instruction |
| class | InstructionWeights |
| Optional subclass that governs limits on the use of certain instructions, since some of them can be too slow. More... | |
| class | Parser |
| Parser class handles the parsing and writing the instructions back to data buffer. More... | |
Public Types | |
| typedef std::vector< ExecutionHandler > | ExecutionState |
Static Public Member Functions | |
| static bool | postProcess (Builder *builder, std::vector< BigGroupBase::ExecutionHandler > &stack) |
| Check that the resulting values are equal to expected. | |
Private Types | |
| using | bool_t = typename bb::stdlib::bool_t< Builder > |
| using | field_t = typename bb::stdlib::field_t< Builder > |
| using | witness_t = typename bb::stdlib::witness_t< Builder > |
| using | Curve = BigGroupType |
| using | GroupElement = typename Curve::ElementNative |
| using | AffineElement = typename Curve::AffineElementNative |
| using | ScalarField = typename Curve::ScalarFieldNative |
| using | BaseField = typename Curve::BaseFieldNative |
| using | big_scalar_t = std::conditional_t< _use_bigfield, BigfieldScalar, typename Curve::ScalarField > |
| using | biggroup_t = std::conditional_t< _use_bigfield, bb::stdlib::element< Builder, typename Curve::BaseField, BigfieldScalar, typename Curve::GroupNative >, typename Curve::Group > |
Static Private Member Functions | |
| static biggroup_t | make_constant_biggroup (const AffineElement &native_elem) |
| Create a constant (no-witness) biggroup element from a native affine element. | |
The class parametrizing BigGroup fuzzing instructions, execution, etc.
Definition at line 206 of file biggroup.fuzzer.hpp.
|
private |
Definition at line 215 of file biggroup.fuzzer.hpp.
|
private |
Definition at line 217 of file biggroup.fuzzer.hpp.
|
private |
Definition at line 219 of file biggroup.fuzzer.hpp.
|
private |
Definition at line 220 of file biggroup.fuzzer.hpp.
|
private |
Definition at line 208 of file biggroup.fuzzer.hpp.
|
private |
Definition at line 212 of file biggroup.fuzzer.hpp.
| typedef std::vector<ExecutionHandler> BigGroupBase< Builder, BigGroupType, _use_bigfield, BigfieldScalar >::ExecutionState |
For biggroup execution state is just a vector of ExecutionHandler objects
Definition at line 1721 of file biggroup.fuzzer.hpp.
|
private |
Definition at line 209 of file biggroup.fuzzer.hpp.
|
private |
Definition at line 214 of file biggroup.fuzzer.hpp.
|
private |
Definition at line 216 of file biggroup.fuzzer.hpp.
|
private |
Definition at line 210 of file biggroup.fuzzer.hpp.
|
inlinestaticprivate |
Create a constant (no-witness) biggroup element from a native affine element.
Replaces the removed element(const NativeGroup::affine_element&) constructor
Definition at line 229 of file biggroup.fuzzer.hpp.
|
inlinestatic |
Check that the resulting values are equal to expected.
| Builder |
| builder | |
| stack |
Definition at line 1732 of file biggroup.fuzzer.hpp.