Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::SumcheckClientIVC::VerificationKey Struct Reference

#include <sumcheck_client_ivc.hpp>

Public Member Functions

std::vector< bb::frto_field_elements () const
 Serialize verification key to field elements.
 
size_t from_field_elements (std::span< const bb::fr > elements)
 Deserialize verification key from field elements.
 

Static Public Member Functions

static size_t calc_num_data_types ()
 Calculate the number of field elements needed for serialization.
 

Public Attributes

std::shared_ptr< MegaVerificationKeymega
 
std::shared_ptr< ECCVMVerificationKeyeccvm
 
std::shared_ptr< TranslatorVerificationKeytranslator
 

Detailed Description

Definition at line 171 of file sumcheck_client_ivc.hpp.

Member Function Documentation

◆ calc_num_data_types()

static size_t bb::SumcheckClientIVC::VerificationKey::calc_num_data_types ( )
inlinestatic

Calculate the number of field elements needed for serialization.

Returns
size_t Number of field elements

Definition at line 180 of file sumcheck_client_ivc.hpp.

◆ from_field_elements()

size_t bb::SumcheckClientIVC::VerificationKey::from_field_elements ( std::span< const bb::fr elements)
inline

Deserialize verification key from field elements.

Parameters
elementsThe field elements to deserialize from
Returns
size_t Number of field elements read

Definition at line 211 of file sumcheck_client_ivc.hpp.

◆ to_field_elements()

std::vector< bb::fr > bb::SumcheckClientIVC::VerificationKey::to_field_elements ( ) const
inline

Serialize verification key to field elements.

Returns
std::vector<bb::fr> The serialized field elements

Definition at line 190 of file sumcheck_client_ivc.hpp.

Member Data Documentation

◆ eccvm

std::shared_ptr<ECCVMVerificationKey> bb::SumcheckClientIVC::VerificationKey::eccvm

Definition at line 173 of file sumcheck_client_ivc.hpp.

◆ mega

std::shared_ptr<MegaVerificationKey> bb::SumcheckClientIVC::VerificationKey::mega

Definition at line 172 of file sumcheck_client_ivc.hpp.

◆ translator

std::shared_ptr<TranslatorVerificationKey> bb::SumcheckClientIVC::VerificationKey::translator

Definition at line 174 of file sumcheck_client_ivc.hpp.


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