Barretenberg
The ZK-SNARK library at the core of Aztec
|
Static Public Member Functions | |
static void | SetUpTestSuite () |
static void | create_function_circuit (InnerBuilder &builder, size_t log_num_gates=10) |
Create a non-trivial arbitrary inner circuit, the proof of which will be recursively verified. | |
static std::tuple< std::shared_ptr< InnerDeciderProvingKey >, std::shared_ptr< InnerDeciderVerificationKey > > | fold_and_verify_native () |
static void | test_circuit () |
Create inner circuit and call check_circuit on it. | |
static void | test_new_evaluate () |
Ensure that evaluating the perturbator in the recursive folding verifier returns the same result as evaluating in Polynomial class. | |
static void | test_recursive_folding (const size_t num_verifiers=1) |
Tests that a valid recursive fold works as expected. | |
static void | test_full_protogalaxy_recursive () |
Perform two rounds of folding valid circuits and then recursive verify the final decider proof, make sure the verifer circuits pass check_circuit(). Ensure that the algorithm of the recursive and native verifiers are identical by checking the manifests. | |
static void | test_tampered_decider_proof () |
static void | test_tampered_accumulator () |
static void | test_constant_pg_verifier_circuit () |
Definition at line 17 of file protogalaxy_recursive_verifier.test.cpp.
Definition at line 29 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::DeciderRecursiveVerifier = DeciderRecursiveVerifier_<RecursiveFlavor> |
Definition at line 45 of file protogalaxy_recursive_verifier.test.cpp.
Definition at line 30 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::FoldingRecursiveVerifier = ProtogalaxyRecursiveVerifier_<RecursiveDeciderVerificationKeys> |
Definition at line 44 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::InnerBuilder = InnerFlavor::CircuitBuilder |
Definition at line 24 of file protogalaxy_recursive_verifier.test.cpp.
Definition at line 28 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::InnerDeciderProver = DeciderProver_<InnerFlavor> |
Definition at line 46 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::InnerDeciderProvingKey = DeciderProvingKey_<InnerFlavor> |
Definition at line 25 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::InnerDeciderVerificationKey = ::bb::DeciderVerificationKey_<InnerFlavor> |
Definition at line 26 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::InnerDeciderVerificationKeys = DeciderVerificationKeys_<InnerFlavor, 2> |
Definition at line 48 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::InnerDeciderVerifier = DeciderVerifier_<InnerFlavor> |
Definition at line 47 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::InnerFlavor = RecursiveFlavor::NativeFlavor |
Definition at line 21 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::InnerFoldingProver = ProtogalaxyProver_<InnerFlavor> |
Definition at line 50 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::InnerFoldingVerifier = ProtogalaxyVerifier_<InnerDeciderVerificationKeys> |
Definition at line 49 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::InnerProver = UltraProver_<InnerFlavor> |
Definition at line 22 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::InnerVerificationKey = InnerFlavor::VerificationKey |
Definition at line 27 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::InnerVerifier = UltraVerifier_<InnerFlavor> |
Definition at line 23 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::OuterBuilder = RecursiveFlavor::CircuitBuilder |
Definition at line 33 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::OuterDeciderProvingKey = DeciderProvingKey_<OuterFlavor> |
Definition at line 37 of file protogalaxy_recursive_verifier.test.cpp.
Definition at line 34 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::OuterProver = UltraProver_<OuterFlavor> |
Definition at line 35 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::OuterVerifier = UltraVerifier_<OuterFlavor> |
Definition at line 36 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::RecursiveDeciderVerificationKey = RecursiveDeciderVerificationKeys::DeciderVK |
Definition at line 41 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::RecursiveDeciderVerificationKeys = ::bb::stdlib::recursion::honk::RecursiveDeciderVerificationKeys_<RecursiveFlavor, 2> |
Definition at line 39 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::RecursiveFlavor = MegaRecursiveFlavor_<MegaCircuitBuilder> |
Definition at line 20 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::RecursiveVerificationKey = RecursiveDeciderVerificationKeys::VerificationKey |
Definition at line 42 of file protogalaxy_recursive_verifier.test.cpp.
using bb::stdlib::recursion::honk::ProtogalaxyRecursiveTests::RecursiveVKAndHash = RecursiveDeciderVerificationKeys::VKAndHash |
Definition at line 43 of file protogalaxy_recursive_verifier.test.cpp.
|
inlinestatic |
Create a non-trivial arbitrary inner circuit, the proof of which will be recursively verified.
builder | |
public_inputs | |
log_num_gates |
TODO(https://github.com/AztecProtocol/barretenberg/issues/744): make testing utility with functionality shared amongst test files
Definition at line 63 of file protogalaxy_recursive_verifier.test.cpp.
|
inlinestatic |
Definition at line 114 of file protogalaxy_recursive_verifier.test.cpp.
|
inlinestatic |
Definition at line 52 of file protogalaxy_recursive_verifier.test.cpp.
|
inlinestatic |
Create inner circuit and call check_circuit on it.
Definition at line 142 of file protogalaxy_recursive_verifier.test.cpp.
|
inlinestatic |
Definition at line 443 of file protogalaxy_recursive_verifier.test.cpp.
|
inlinestatic |
Perform two rounds of folding valid circuits and then recursive verify the final decider proof, make sure the verifer circuits pass check_circuit(). Ensure that the algorithm of the recursive and native verifiers are identical by checking the manifests.
Definition at line 281 of file protogalaxy_recursive_verifier.test.cpp.
|
inlinestatic |
Ensure that evaluating the perturbator in the recursive folding verifier returns the same result as evaluating in Polynomial class.
Definition at line 157 of file protogalaxy_recursive_verifier.test.cpp.
|
inlinestatic |
Tests that a valid recursive fold works as expected.
Definition at line 183 of file protogalaxy_recursive_verifier.test.cpp.
|
inlinestatic |
Definition at line 402 of file protogalaxy_recursive_verifier.test.cpp.
|
inlinestatic |
Definition at line 379 of file protogalaxy_recursive_verifier.test.cpp.