24 for (
const auto& witness_index_num_bits : constraint.
inputs) {
25 auto witness_index = witness_index_num_bits.blackbox_input;
26 auto num_bits = witness_index_num_bits.num_bits;
37 arr.
write(element_bytes);
42 for (
size_t i = 0; i < output_bytes.
size(); ++i) {
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.
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.