Skip to content

Commit

Permalink
Rename blinders
Browse files Browse the repository at this point in the history
  • Loading branch information
xevisalle committed Jul 30, 2024
1 parent 568f9d9 commit 37730c3
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions src/compiler/prover.rs
Original file line number Diff line number Diff line change
Expand Up @@ -359,23 +359,23 @@ impl Prover {
let mut t_fourth_vec = t_poly[3 * domain_size..].to_vec();

// select 3 blinding factors for the quotient splitted polynomials
let b_10 = BlsScalar::random(&mut *rng);
let b_11 = BlsScalar::random(&mut *rng);
let b_12 = BlsScalar::random(&mut *rng);
let b_13 = BlsScalar::random(&mut *rng);
let b_14 = BlsScalar::random(&mut *rng);

// t_low'(X) + b_10*X^n
t_low_vec.push(b_10);
// t_low'(X) + b_12*X^n
t_low_vec.push(b_12);

// t_mid'(X) - b_10 + b_11*X^n
t_mid_vec[0] -= b_10;
t_mid_vec.push(b_11);
// t_mid'(X) - b_12 + b_13*X^n
t_mid_vec[0] -= b_12;
t_mid_vec.push(b_13);

// t_high'(X) - b_11 + b_12*X^n
t_high_vec[0] -= b_11;
t_high_vec.push(b_12);
// t_high'(X) - b_12 + b_13*X^n
t_high_vec[0] -= b_12;
t_high_vec.push(b_13);

// t_fourth'(X) - b_12
t_fourth_vec[0] -= b_12;
// t_fourth'(X) - b_14
t_fourth_vec[0] -= b_14;

let t_low_poly = Polynomial::from_coefficients_vec(t_low_vec);
let t_mid_poly = Polynomial::from_coefficients_vec(t_mid_vec);
Expand Down

0 comments on commit 37730c3

Please sign in to comment.