This class implements the execution of safeuint with an oracle to detect discrepancies.
More...
|
|
| ExecutionHandler (barretenberg::fr a, field_t b) |
| |
|
| ExecutionHandler (barretenberg::fr a, field_t &b) |
| |
|
| ExecutionHandler (barretenberg::fr &a, field_t &b) |
| |
|
ExecutionHandler | operator+ (const ExecutionHandler &other) |
| |
|
ExecutionHandler | operator- (const ExecutionHandler &other) |
| |
|
ExecutionHandler | operator* (const ExecutionHandler &other) |
| |
|
ExecutionHandler | sqr () |
| |
|
ExecutionHandler | operator/ (const ExecutionHandler &other) |
| |
|
ExecutionHandler | add_two (const ExecutionHandler &other1, const ExecutionHandler &other2) |
| |
|
ExecutionHandler | madd (const ExecutionHandler &other1, const ExecutionHandler &other2) |
| |
|
std::array< ExecutionHandler, 3 > | slice (uint8_t lsb, uint8_t msb) |
| |
|
void | assert_equal (ExecutionHandler &other) |
| |
|
void | assert_not_equal (ExecutionHandler &other) |
| |
|
void | assert_zero () |
| |
|
void | assert_not_zero () |
| |
|
ExecutionHandler | conditional_negate (Builder *builder, const bool predicate) |
| |
|
ExecutionHandler | conditional_select (Builder *builder, ExecutionHandler &other, const bool predicate) |
| |
|
ExecutionHandler | select_if_zero (Builder *builder, ExecutionHandler &other1, ExecutionHandler &other2) |
| |
|
ExecutionHandler | select_if_eq (Builder *builder, ExecutionHandler &other1, ExecutionHandler &other2) |
| |
|
ExecutionHandler | set (Builder *builder) |
| |
|
ExecutionHandler | invert (void) const |
| |
|
| 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_ASSERT_ZERO (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| | Execute the ASSERT_ZERO instruction.
|
| |
| static size_t | execute_ASSERT_NOT_ZERO (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| | Execute the ASSERT_NOT_ZERO 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_SLICE (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| | Execute the slice instruction.
|
| |
| static size_t | execute_RANDOMSEED (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| | Execute the RANDOMSEED 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_SELECT_IF_ZERO (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| | Execute the SELECT_IF_ZERO instruction.
|
| |
| static size_t | execute_SELECT_IF_EQ (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| | Execute the SELECT_IF_EQ instruction.
|
| |
| static size_t | execute_SET (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| | Execute the SET instruction.
|
| |
| static size_t | execute_INVERT (Builder *builder, std::vector< ExecutionHandler > &stack, Instruction &instruction) |
| | Execute the INVERT instruction.
|
| |
template<typename
Builder>
class FieldBase< Builder >::ExecutionHandler
This class implements the execution of safeuint with an oracle to detect discrepancies.