halo2/halo2_proofs/benches
Jack Grigg 4d336f2707 halo2_proofs: Improve `plonk::verify_proof` API
Previously `plonk::verify_proof` took an `MSM` as an argument, to enable
batch verification. However, this also required that it take a source of
randomness in order to enforce separation of proofs within a batch. This
made single-proof verification unnecessarily non-deterministic.

We now have a `VerificationStrategy` trait encapsulating the necessary
details, and separate `SingleVerifier` and `BatchVerifier` structs for
the specific variants. Proof verifiers no longer need to create and
manage the `MSM` themselves, and single-proof verifiers no longer need
to supply a source of randomness.

Co-authored-by: Sean Bowe <sean@electriccoin.co>
2022-01-27 00:20:56 +00:00
..
arithmetic.rs Move `halo2` code into `halo2_proofs` crate 2022-01-20 18:50:43 +00:00
hashtocurve.rs Move `halo2` code into `halo2_proofs` crate 2022-01-20 18:50:43 +00:00
plonk.rs halo2_proofs: Improve `plonk::verify_proof` API 2022-01-27 00:20:56 +00:00