Skip to content

Commit

Permalink
expose param field for re-randomization
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenfeizhang committed Sep 14, 2023
1 parent aa86c10 commit ce8028b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions halo2_proofs/src/poly/kzg/commitment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ use super::msm::MSMKZG;
/// These are the public parameters for the polynomial commitment scheme.
#[derive(Debug, Clone)]
pub struct ParamsKZG<E: Engine> {
pub(crate) k: u32,
pub k: u32,
pub n: u64,
pub(crate) g: Vec<E::G1Affine>,
pub g: Vec<E::G1Affine>,
pub g_lagrange: Vec<E::G1Affine>,
pub(crate) g2: E::G2Affine,
pub(crate) s_g2: E::G2Affine,
pub g2: E::G2Affine,
pub s_g2: E::G2Affine,
}

/// Umbrella commitment scheme construction for all KZG variants
Expand Down

0 comments on commit ce8028b

Please sign in to comment.