46 std::vector<bb::curve::Grumpkin::AffineElement> group_elements_ = {},
#define BB_ASSERT_GT(left, right,...)
#define BB_ASSERT_LT(left, right,...)
Mock transcript class used by IPA tests and fuzzer.
std::vector< bb::curve::Grumpkin::AffineElement > hash_buffer_group_elements
size_t current_field_index
std::vector< uint256_t > field_elements
std::vector< uint256_t > hash_buffer_field_elements
size_t current_group_index
std::vector< bb::curve::Grumpkin::AffineElement > group_elements
void add_to_hash_buffer(const std::string &, const T &element)
Add something to the hash buffer(s).
std::vector< uint256_t > challenges
T receive_from_prover(const std::string &)
Receive elements from the prover.
void initialize(std::vector< uint256_t > challenges_, std::vector< bb::curve::Grumpkin::AffineElement > group_elements_={}, std::vector< uint256_t > field_elements_={})
Initialize the transcript (requires to submit the challenges)
T get_challenge(const std::string &)
Get a challenge from the verifier.
void send_to_verifier(const std::string &, const T &element)
Send something that can be converted to uint256_t to the verifier (used for field elements)
void reset_indices()
Reset the indices of elements sampled after using the transcript with the prover.
size_t current_challenge_index
Entry point for Barretenberg command-line interface.
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept