24 for (
const auto& witness_index_num_bits : constraint.
inputs) {
25 auto witness_index = witness_index_num_bits.blackbox_input;
34 arr.
write(element_bytes);
39 for (
const auto& [output_byte, result_byte_idx] :
zip_view(output_bytes.
bytes(), constraint.
result)) {
static byte_array_ct hash(const byte_array_ct &input)
Represents a dynamic array of bytes in-circuit.
byte_array & write(byte_array const &other)
Appends the contents of another byte_array (other) to the end of this one.
bytes_t const & bytes() const
static byte_array constant_padding(Builder *parent_context, size_t num_bytes, uint8_t value=0)
static field_t from_witness_index(Builder *ctx, uint32_t witness_index)
std::conditional_t< IsGoblinBigGroup< C, Fq, Fr, G >, element_goblin::goblin_element< C, goblin_field< C >, Fr, G >, element_default::element< C, Fq, Fr, G > > element
element wraps either element_default::element or element_goblin::goblin_element depending on parametr...
Entry point for Barretenberg command-line interface.