pasta_curves-source/src/plonk/permutation.rs
2020-12-01 21:03:31 +00:00

14 lines
372 B
Rust

//! Implementation of a PLONK permutation argument.
use crate::arithmetic::CurveAffine;
mod prover;
mod verifier;
#[derive(Debug, Clone)]
pub(crate) struct Proof<C: CurveAffine> {
permutation_product_commitments: Vec<C>,
permutation_product_evals: Vec<C::Scalar>,
permutation_product_inv_evals: Vec<C::Scalar>,
permutation_evals: Vec<Vec<C::Scalar>>,
}