Skip to content

Commit

Permalink
multi-commiting/opening (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenfeizhang authored Jun 30, 2022
1 parent a8c7378 commit d41a0cf
Show file tree
Hide file tree
Showing 10 changed files with 1,049 additions and 34 deletions.
7 changes: 6 additions & 1 deletion pcs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ ark-bls12-381 = { version = "0.3.0", default-features = false, features = [ "cur

displaydoc = { version = "0.2.3", default-features = false }

poly-iop = { path = "../poly-iop" }


# Benchmarks
[[bench]]
name = "pcs-benches"
Expand All @@ -31,7 +34,9 @@ parallel = [
"ark-ff/parallel",
"ark-poly/parallel",
"ark-ec/parallel",
"poly-iop/parallel"
]
print-trace = [
"ark-std/print-trace"
"ark-std/print-trace",
"poly-iop/print-trace"
]
2 changes: 1 addition & 1 deletion pcs/benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ fn bench_pcs() -> Result<(), PCSErrors> {
{
let start = Instant::now();
for _ in 0..repetition {
assert!(KZGMultilinearPC::verify(&vk, &com, &point, value, &proof)?);
assert!(KZGMultilinearPC::verify(&vk, &com, &point, &value, &proof)?);
}
println!(
"KZG verify for {} variables: {} ns",
Expand Down
Loading

0 comments on commit d41a0cf

Please sign in to comment.