Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::CommitmentKey< Curve >::CommitBatch Struct Reference

#include <commitment_key.hpp>

Public Member Functions

std::vector< Commitmentcommit_and_send_to_verifier (auto transcript, size_t max_batch_size=std::numeric_limits< size_t >::max())
 
void add_to_batch (Polynomial< Fr > &poly, const std::string &label, bool mask)
 

Public Attributes

CommitmentKeykey
 
RefVector< Polynomial< Fr > > wires
 
std::vector< std::string > labels
 

Detailed Description

template<class Curve>
struct bb::CommitmentKey< Curve >::CommitBatch

Definition at line 159 of file commitment_key.hpp.

Member Function Documentation

◆ add_to_batch()

template<class Curve >
void bb::CommitmentKey< Curve >::CommitBatch::add_to_batch ( Polynomial< Fr > &  poly,
const std::string &  label,
bool  mask 
)
inline

Definition at line 174 of file commitment_key.hpp.

◆ commit_and_send_to_verifier()

template<class Curve >
std::vector< Commitment > bb::CommitmentKey< Curve >::CommitBatch::commit_and_send_to_verifier ( auto  transcript,
size_t  max_batch_size = std::numeric_limits<size_t>::max() 
)
inline

Definition at line 163 of file commitment_key.hpp.

Member Data Documentation

◆ key

template<class Curve >
CommitmentKey* bb::CommitmentKey< Curve >::CommitBatch::key

Definition at line 160 of file commitment_key.hpp.

◆ labels

template<class Curve >
std::vector<std::string> bb::CommitmentKey< Curve >::CommitBatch::labels

Definition at line 162 of file commitment_key.hpp.

◆ wires

template<class Curve >
RefVector<Polynomial<Fr> > bb::CommitmentKey< Curve >::CommitBatch::wires

Definition at line 161 of file commitment_key.hpp.


The documentation for this struct was generated from the following file: