Skip to content

Commit

Permalink
Address comments brought up by @str4d.
Browse files Browse the repository at this point in the history
  • Loading branch information
ebfull committed Feb 14, 2022
1 parent f2daf91 commit 0b73c74
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions halo2_proofs/src/poly/commitment/verifier.rs
Expand Up @@ -52,7 +52,7 @@ impl<'a, C: CurveAffine, E: EncodedChallenge<C>> Guard<'a, C, E> {
(self.msm, accumulator)
}

/// Computes G + W, where G = ⟨s, params.g⟩ and W is used for blinding
/// Computes G = ⟨s, params.g⟩
pub fn compute_g(&self) -> C {
let s = compute_s(&self.u, C::Scalar::one());

Expand Down Expand Up @@ -115,8 +115,7 @@ pub fn verify_proof<'a, C: CurveAffine, E: EncodedChallenge<C>, T: TranscriptRea
// equals (given b = \mathbf{b}_0, and the prover's values c, f),
// the right-hand side
// = [c] (G'_0 + [b * z] U) + [f] W
// and then subtracting the right-hand side from both sides
// to get
// Subtracting the right-hand side from both sides we get
// P' + \sum([u_j^{-1}] L_j) + \sum([u_j] R_j)
// + [-c] G'_0 + [-cbz] U + [-f] W
// = 0
Expand Down

0 comments on commit 0b73c74

Please sign in to comment.