|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
This class implements the execution of safeuint with an oracle to detect discrepancies. More...
#include <bigfield.fuzzer.hpp>
Static Public Member Functions | |
| static ExecutionHandler | mult_madd (const std::vector< ExecutionHandler > &input_left, const std::vector< ExecutionHandler > &input_right, const std::vector< ExecutionHandler > &to_add) |
| static ExecutionHandler | msub_div (const std::vector< ExecutionHandler > &input_left, const std::vector< ExecutionHandler > &input_right, const ExecutionHandler &divisor, const std::vector< ExecutionHandler > &to_sub) |
| static size_t | execute_CONSTANT (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the constant instruction (push constant safeuint to the stack) | |
| static size_t | execute_WITNESS (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the witness instruction (push witness safeuit to the stack) | |
| static size_t | execute_CONSTANT_WITNESS (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the constant_witness instruction (push a safeuint witness equal to the constant to the stack) | |
| static size_t | execute_MULTIPLY (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the multiply instruction. | |
| static size_t | execute_ADD (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the addition operator instruction. | |
| static size_t | execute_SQR (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the SQR instruction. | |
| static size_t | execute_ASSERT_EQUAL (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the ASSERT_EQUAL instruction. | |
| static size_t | execute_ASSERT_NOT_EQUAL (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the ASSERT_NOT_EQUAL instruction. | |
| static size_t | execute_SUBTRACT (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the subtraction operator instruction. | |
| static size_t | execute_DIVIDE (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the division operator instruction. | |
| static size_t | execute_ADD_TWO (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the ADD_TWO instruction. | |
| static size_t | execute_MADD (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the MADD instruction. | |
| static size_t | execute_MULT_MADD (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the MULT_MADD instruction. | |
| static size_t | execute_MSUB_DIV (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the MSUB_DIV instruction. | |
| static size_t | execute_SQR_ADD (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the SQR_ADD instruction. | |
| static size_t | execute_COND_NEGATE (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the COND_NEGATE instruction. | |
| static size_t | execute_COND_SELECT (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the COND_SELECT instruction. | |
| static size_t | execute_SET (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the SET instruction. | |
| static size_t | execute_RANDOMSEED (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| Execute the RANDOMSEED instruction. | |
Public Attributes | |
| bb::fq | base |
| bigfield_t | bigfield |
Private Member Functions | |
| bigfield_t | bf () const |
| uint256_t | bf_u256 (void) const |
Static Private Member Functions | |
| static bool_t | construct_predicate (Builder *builder, const bool predicate) |
This class implements the execution of safeuint with an oracle to detect discrepancies.
Definition at line 794 of file bigfield.fuzzer.hpp.
|
default |
|
inline |
Definition at line 829 of file bigfield.fuzzer.hpp.
|
inline |
Definition at line 848 of file bigfield.fuzzer.hpp.
|
inline |
Definition at line 864 of file bigfield.fuzzer.hpp.
|
inline |
Definition at line 934 of file bigfield.fuzzer.hpp.
|
inline |
Definition at line 1006 of file bigfield.fuzzer.hpp.
|
inline |
Definition at line 1070 of file bigfield.fuzzer.hpp.
|
inlineprivate |
Definition at line 806 of file bigfield.fuzzer.hpp.
|
inlineprivate |
Definition at line 820 of file bigfield.fuzzer.hpp.
|
inline |
Definition at line 1079 of file bigfield.fuzzer.hpp.
|
inline |
Definition at line 1085 of file bigfield.fuzzer.hpp.
|
inlinestaticprivate |
Definition at line 796 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Execute the addition operator instruction.
| builder | |
| stack | |
| instruction |
Definition at line 1263 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Execute the ADD_TWO instruction.
| builder | |
| stack | |
| instruction |
Definition at line 1472 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Execute the ASSERT_EQUAL instruction.
| builder | |
| stack | |
| instruction |
Definition at line 1334 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Execute the ASSERT_NOT_EQUAL instruction.
| builder | |
| stack | |
| instruction |
Definition at line 1362 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Execute the COND_NEGATE instruction.
| builder | |
| stack | |
| instruction |
Definition at line 1760 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Execute the COND_SELECT instruction.
| builder | |
| stack | |
| instruction |
Definition at line 1796 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Execute the constant instruction (push constant safeuint to the stack)
| builder | |
| stack | |
| instruction |
Definition at line 1155 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Execute the constant_witness instruction (push a safeuint witness equal to the constant to the stack)
| builder | |
| stack | |
| instruction |
Definition at line 1206 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Execute the division operator instruction.
| builder | |
| stack | |
| instruction |
Definition at line 1429 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Execute the MADD instruction.
| builder | |
| stack | |
| instruction |
Definition at line 1508 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Execute the MSUB_DIV instruction.
| builder | |
| stack | |
| instruction |
Definition at line 1617 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Execute the MULT_MADD instruction.
| builder | |
| stack | |
| instruction |
Definition at line 1544 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Execute the multiply instruction.
| builder | |
| stack | |
| instruction |
Definition at line 1227 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Execute the RANDOMSEED instruction.
| builder | |
| stack | |
| instruction |
Definition at line 1867 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Execute the SET instruction.
| builder | |
| stack | |
| instruction |
Definition at line 1834 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Execute the SQR instruction.
| builder | |
| stack | |
| instruction |
Definition at line 1299 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Execute the SQR_ADD instruction.
| builder | |
| stack | |
| instruction |
Definition at line 1700 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Execute the subtraction operator instruction.
| builder | |
| stack | |
| instruction |
Definition at line 1394 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Execute the witness instruction (push witness safeuit to the stack)
| builder | |
| stack | |
| instruction |
Definition at line 1177 of file bigfield.fuzzer.hpp.
|
inline |
Definition at line 939 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Definition at line 975 of file bigfield.fuzzer.hpp.
|
inlinestatic |
Definition at line 956 of file bigfield.fuzzer.hpp.
|
inline |
Definition at line 888 of file bigfield.fuzzer.hpp.
|
inline |
Definition at line 880 of file bigfield.fuzzer.hpp.
|
inline |
Definition at line 884 of file bigfield.fuzzer.hpp.
|
inline |
Definition at line 893 of file bigfield.fuzzer.hpp.
|
inline |
Definition at line 1091 of file bigfield.fuzzer.hpp.
|
inline |
Definition at line 892 of file bigfield.fuzzer.hpp.
|
inline |
Definition at line 945 of file bigfield.fuzzer.hpp.
| bb::fq BigFieldBase< Builder >::ExecutionHandler::base |
Definition at line 826 of file bigfield.fuzzer.hpp.
| bigfield_t BigFieldBase< Builder >::ExecutionHandler::bigfield |
Definition at line 827 of file bigfield.fuzzer.hpp.