-
Notifications
You must be signed in to change notification settings - Fork 305
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
285 additions
and
73 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 14 additions & 5 deletions
19
barretenberg/cpp/src/barretenberg/dsl/acir_format/honk_recursion_constraint.hpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,26 @@ | ||
#pragma once | ||
#include "barretenberg/commitment_schemes/claim.hpp" | ||
#include "barretenberg/dsl/acir_format/recursion_constraint.hpp" | ||
#include "barretenberg/honk/proof_system/types/proof.hpp" | ||
#include "barretenberg/stdlib/primitives/bigfield/bigfield.hpp" | ||
#include "barretenberg/stdlib/primitives/curves/grumpkin.hpp" | ||
#include <vector> | ||
|
||
namespace acir_format { | ||
using Builder = bb::UltraCircuitBuilder; | ||
|
||
using namespace bb; | ||
|
||
PairingPointAccumulatorIndices create_honk_recursion_constraints( | ||
Builder& builder, | ||
const RecursionConstraint& input, | ||
PairingPointAccumulatorIndices input_aggregation_object, | ||
bool has_valid_witness_assignments = false); | ||
struct HonkRecursionConstraintOutput { | ||
PairingPointAccumulatorIndices agg_obj_indices; | ||
OpeningClaim<stdlib::grumpkin<Builder>> ipa_claim; | ||
StdlibProof<Builder> ipa_proof; | ||
}; | ||
|
||
template <typename Flavor> | ||
HonkRecursionConstraintOutput create_honk_recursion_constraints(Builder& builder, | ||
const RecursionConstraint& input, | ||
PairingPointAccumulatorIndices input_aggregation_object, | ||
bool has_valid_witness_assignments = false); | ||
|
||
} // namespace acir_format |
Oops, something went wrong.