|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include "acir_format.hpp"#include "acir_format_mocks.hpp"#include "barretenberg/bbapi/bbapi_shared.hpp"#include "barretenberg/client_ivc/sumcheck_client_ivc.hpp"#include "barretenberg/dsl/acir_format/mock_verifier_inputs.hpp"#include "barretenberg/dsl/acir_format/pg_recursion_constraint.hpp"#include "barretenberg/goblin/mock_circuits.hpp"#include "barretenberg/ultra_honk/prover_instance.hpp"#include "barretenberg/ultra_honk/ultra_prover.hpp"#include "barretenberg/ultra_honk/ultra_verifier.hpp"#include "honk_recursion_constraint.hpp"#include "proof_surgeon.hpp"#include <gtest/gtest.h>#include <vector>Go to the source code of this file.
Classes | |
| class | SumcheckIvcRecursionConstraintTest |
Functions | |
| TEST_F (SumcheckIvcRecursionConstraintTest, MockMergeProofSize) | |
| Check that the size of a mock merge proof matches expectation. | |
| TEST_F (SumcheckIvcRecursionConstraintTest, AccumulateSingleApp) | |
| Test IVC accumulation of a one app and one kernel; The kernel includes a recursive oink verification for the app, specified via an ACIR RecursionConstraint. | |
| TEST_F (SumcheckIvcRecursionConstraintTest, AccumulateTwoApps) | |
| Test IVC accumulation of two apps and two kernels; The first kernel contains a recursive oink verification and the second contains two recursive PG verifications, all specified via ACIR RecursionConstraints. | |
| TEST_F (SumcheckIvcRecursionConstraintTest, GenerateInitKernelVKFromConstraints) | |
| TEST_F (SumcheckIvcRecursionConstraintTest, GenerateResetKernelVKFromConstraints) | |
| TEST_F (SumcheckIvcRecursionConstraintTest, GenerateTailKernelVKFromConstraints) | |
| TEST_F (SumcheckIvcRecursionConstraintTest, GenerateInnerKernelVKFromConstraints) | |
| TEST_F (SumcheckIvcRecursionConstraintTest, GenerateHidingKernelVKFromConstraints) | |
| TEST_F (SumcheckIvcRecursionConstraintTest, RecursiveVerifierAppCircuit) | |
| Test IVC accumulation of a one app and one kernel. The app includes a UltraHonk Recursive Verifier. | |
| TEST_F (SumcheckIvcRecursionConstraintTest, RecursiveVerifierAppCircuitFailure) | |
| Test IVC accumulation of a one app and one kernel. The app includes a UltraHonk Recursive Verifier that verifies an invalid proof. | |
| TEST_F | ( | SumcheckIvcRecursionConstraintTest | , |
| AccumulateSingleApp | |||
| ) |
Test IVC accumulation of a one app and one kernel; The kernel includes a recursive oink verification for the app, specified via an ACIR RecursionConstraint.
Definition at line 312 of file sumcheck_pg_recursion_constraint.test.cpp.
| TEST_F | ( | SumcheckIvcRecursionConstraintTest | , |
| AccumulateTwoApps | |||
| ) |
Test IVC accumulation of two apps and two kernels; The first kernel contains a recursive oink verification and the second contains two recursive PG verifications, all specified via ACIR RecursionConstraints.
Definition at line 333 of file sumcheck_pg_recursion_constraint.test.cpp.
| TEST_F | ( | SumcheckIvcRecursionConstraintTest | , |
| GenerateHidingKernelVKFromConstraints | |||
| ) |
Definition at line 526 of file sumcheck_pg_recursion_constraint.test.cpp.
| TEST_F | ( | SumcheckIvcRecursionConstraintTest | , |
| GenerateInitKernelVKFromConstraints | |||
| ) |
Definition at line 360 of file sumcheck_pg_recursion_constraint.test.cpp.
| TEST_F | ( | SumcheckIvcRecursionConstraintTest | , |
| GenerateInnerKernelVKFromConstraints | |||
| ) |
Definition at line 476 of file sumcheck_pg_recursion_constraint.test.cpp.
| TEST_F | ( | SumcheckIvcRecursionConstraintTest | , |
| GenerateResetKernelVKFromConstraints | |||
| ) |
Definition at line 393 of file sumcheck_pg_recursion_constraint.test.cpp.
| TEST_F | ( | SumcheckIvcRecursionConstraintTest | , |
| GenerateTailKernelVKFromConstraints | |||
| ) |
Definition at line 432 of file sumcheck_pg_recursion_constraint.test.cpp.
| TEST_F | ( | SumcheckIvcRecursionConstraintTest | , |
| MockMergeProofSize | |||
| ) |
Check that the size of a mock merge proof matches expectation.
Definition at line 302 of file sumcheck_pg_recursion_constraint.test.cpp.
| TEST_F | ( | SumcheckIvcRecursionConstraintTest | , |
| RecursiveVerifierAppCircuit | |||
| ) |
Test IVC accumulation of a one app and one kernel. The app includes a UltraHonk Recursive Verifier.
Definition at line 572 of file sumcheck_pg_recursion_constraint.test.cpp.
| TEST_F | ( | SumcheckIvcRecursionConstraintTest | , |
| RecursiveVerifierAppCircuitFailure | |||
| ) |
Test IVC accumulation of a one app and one kernel. The app includes a UltraHonk Recursive Verifier that verifies an invalid proof.
Definition at line 595 of file sumcheck_pg_recursion_constraint.test.cpp.