Skip to content

Commit

Permalink
chore: Move HyperKZG+Shponk code to hyperkzg.rs source file
Browse files Browse the repository at this point in the history
  • Loading branch information
storojs72 committed Feb 26, 2024
1 parent ee028e0 commit d7b3b07
Show file tree
Hide file tree
Showing 5 changed files with 620 additions and 1,938 deletions.
8 changes: 2 additions & 6 deletions benches/pcs.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
use arecibo::provider::Bn256EngineIPA;
use arecibo::provider::{
hyperkzg::EvaluationEngine as MLEvaluationEngine,
hyperkzg_shplonk::EvaluationEngine as MLShplEvaluationEngine,
ipa_pc::EvaluationEngine as IPAEvaluationEngine, non_hiding_zeromorph::ZMPCS,
shplonk::EvaluationEngine as Shplonk, Bn256EngineKZG, Bn256EngineZM,
};
use arecibo::provider::{Bn256EngineIPA, Bn256EngineKZG, Bn256EngineZM};
use arecibo::spartan::polys::multilinear::MultilinearPolynomial;
use arecibo::traits::{
commitment::CommitmentEngineTrait, evaluation::EvaluationEngineTrait, Engine,
Expand Down Expand Up @@ -161,9 +159,7 @@ fn bench_pcs(c: &mut Criterion) {
bench_pcs_verifying_internal,
(ipa_assets, IPAEvaluationEngine<Bn256EngineIPA>),
(hyperkzg_assets, MLEvaluationEngine<Bn256, Bn256EngineKZG>),
(zm_assets, ZMPCS<Bn256, Bn256EngineZM>),
(shplonk_assets, Shplonk<Bn256, Bn256EngineKZG>),
(hyperkzg_shplonk_assets, MLShplEvaluationEngine<Bn256, Bn256EngineKZG>)
(zm_assets, ZMPCS<Bn256, Bn256EngineZM>)
);
}

Expand Down
Loading

0 comments on commit d7b3b07

Please sign in to comment.