halo2/src/plonk
Jack Grigg f49e1e6177 Fix breakage of trait resolution in Rust 1.49.0
Previously, `ChallengeScalar` could use the operator traits defined on
the `F: Field` type it wrapped, due to its `impl Deref<Target = F>`.
This was technically ambiguous, and Rust 1.49.0 makes that ambiguity an
error.

We could fix this by adding operator impls with `ChallengeScalar` on the
RHS, but that would conflict with zcash/halo2#111. Instead we manually
dereference every challenge scalar when used in an arithmetic operation.
2021-01-06 00:48:29 +00:00
..
lookup Fix breakage of trait resolution in Rust 1.49.0 2021-01-06 00:48:29 +00:00
permutation Fix breakage of trait resolution in Rust 1.49.0 2021-01-06 00:48:29 +00:00
vanishing Fix breakage of trait resolution in Rust 1.49.0 2021-01-06 00:48:29 +00:00
circuit.rs Abstract add_rotation() helper in plonk::circuit 2020-12-06 07:19:44 +08:00
keygen.rs Refactor permutation keygen to reflect the separate permutations 2020-12-22 18:11:42 +00:00
lookup.rs Account more rigorously for the degrees of permutations' and lookups' constraints. 2020-12-22 08:59:08 -07:00
permutation.rs Refactor permutation proofs to reflect the separate permutations 2020-12-22 23:51:32 +00:00
prover.rs Refactor permutation proofs to reflect the separate permutations 2020-12-22 23:51:32 +00:00
vanishing.rs Extract plonk::vanishing::{Argument, Proof} from prover and verifier 2020-12-08 00:57:14 +08:00
verifier.rs Refactor permutation proofs to reflect the separate permutations 2020-12-22 23:51:32 +00:00