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

@@ -17,8 +17,8 @@ type G1 = pasta_curves::pallas::Point;
type G2 = pasta_curves::vesta::Point;
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>;
type C1 = NonTrivialTestCircuit<<G1 as Group>::Scalar>;
type C2 = TrivialTestCircuit<<G2 as Group>::Scalar>;