|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <commitment_key.test.hpp>
Public Member Functions | |
| CommitmentTest () | |
| const CK & | ck () |
| VK & | vk () |
| Commitment | commit (const Polynomial &polynomial) |
| Fr | random_element () |
| Polynomial | random_polynomial (const size_t poly_size) |
| OpeningPair< Curve > | random_eval (const Polynomial &polynomial) |
| std::vector< Fr > | random_evaluation_point (const size_t num_variables) |
| void | verify_opening_claim (const OpeningClaim< Curve > &claim, const Polynomial &witness, CommitmentKey< Curve > ck=CommitmentKey< Curve >()) |
| void | verify_opening_pair (const OpeningPair< Curve > &opening_pair, const Polynomial &witness) |
| void | verify_batch_opening_claim (std::span< const OpeningClaim< Curve > > multi_claims, std::span< const Polynomial > witnesses) |
| Ensures that a 'BatchOpeningClaim' is correct by checking that. | |
| void | verify_batch_opening_pair (std::vector< ProverOpeningClaim< Curve > > opening_claims) |
| Ensures that a set of opening pairs is correct by checking that evaluations are correct by recomputing them from each witness polynomial. | |
| std::vector< UnivariateClaimData< Curve > > | generate_claim_data (const std::vector< size_t > &poly_sizes) |
| std::pair< std::vector< Fr >, std::vector< Fr > > | combine_claims (std::vector< UnivariateClaimData< Curve > > &claims) |
Static Public Member Functions | |
| static void | SetUpTestSuite () |
| static void | TearDownTestSuite () |
Public Attributes | |
| numeric::RNG * | engine |
Static Public Attributes | |
| static CK | commitment_key |
| static VK | verification_key |
Private Types | |
| using | CK = CommitmentKey< Curve > |
| using | VK = VerifierCommitmentKey< Curve > |
| using | Fr = typename Curve::ScalarField |
| using | Commitment = typename Curve::AffineElement |
| using | Polynomial = bb::Polynomial< Fr > |
Definition at line 125 of file commitment_key.test.hpp.
|
private |
Definition at line 126 of file commitment_key.test.hpp.
|
private |
Definition at line 130 of file commitment_key.test.hpp.
|
private |
Definition at line 129 of file commitment_key.test.hpp.
|
private |
Definition at line 131 of file commitment_key.test.hpp.
|
private |
Definition at line 127 of file commitment_key.test.hpp.
|
inline |
Definition at line 134 of file commitment_key.test.hpp.
|
inline |
Definition at line 138 of file commitment_key.test.hpp.
|
inline |
Definition at line 241 of file commitment_key.test.hpp.
|
inline |
Definition at line 141 of file commitment_key.test.hpp.
|
inline |
Definition at line 221 of file commitment_key.test.hpp.
|
inline |
Definition at line 143 of file commitment_key.test.hpp.
|
inline |
Definition at line 147 of file commitment_key.test.hpp.
|
inline |
Definition at line 154 of file commitment_key.test.hpp.
|
inline |
Definition at line 145 of file commitment_key.test.hpp.
|
inlinestatic |
Definition at line 280 of file commitment_key.test.hpp.
|
inlinestatic |
Definition at line 294 of file commitment_key.test.hpp.
|
inline |
Ensures that a 'BatchOpeningClaim' is correct by checking that.
Definition at line 196 of file commitment_key.test.hpp.
|
inline |
Ensures that a set of opening pairs is correct by checking that evaluations are correct by recomputing them from each witness polynomial.
Definition at line 211 of file commitment_key.test.hpp.
|
inline |
Definition at line 163 of file commitment_key.test.hpp.
|
inline |
Definition at line 182 of file commitment_key.test.hpp.
|
inline |
Definition at line 139 of file commitment_key.test.hpp.
|
static |
Definition at line 296 of file commitment_key.test.hpp.
| numeric::RNG* bb::CommitmentTest< Curve >::engine |
Definition at line 275 of file commitment_key.test.hpp.
|
static |
Definition at line 297 of file commitment_key.test.hpp.