Reorganize various Spartan SNARKs and make the direct interface more generic (#195)

* reorganize different variants of spartan and make direct snark more generic

* cargo fmt
This commit is contained in:
Srinath Setty
2023-07-06 19:51:00 -07:00
committed by GitHub
parent 4087cab1a5
commit e76e6bc0f8
7 changed files with 815 additions and 779 deletions

View File

@@ -262,8 +262,8 @@ fn main() {
let start = Instant::now();
type EE1 = nova_snark::provider::ipa_pc::EvaluationEngine<G1>;
type EE2 = nova_snark::provider::ipa_pc::EvaluationEngine<G2>;
type S1 = nova_snark::spartan::RelaxedR1CSSNARK<G1, EE1>;
type S2 = nova_snark::spartan::RelaxedR1CSSNARK<G2, EE2>;
type S1 = nova_snark::spartan::snark::RelaxedR1CSSNARK<G1, EE1>;
type S2 = nova_snark::spartan::snark::RelaxedR1CSSNARK<G2, EE2>;
let res = CompressedSNARK::<_, _, _, _, S1, S2>::prove(&pp, &pk, &recursive_snark);
println!(