mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-04 20:03:39 +00:00
Auxilary wires in PLONK are foux blinded just like fixed wires.
This commit is contained in:
parent
316a027784
commit
56b6d8bd03
2 changed files with 3 additions and 3 deletions
|
|
@ -375,7 +375,7 @@ fn test_proving() {
|
|||
pubinputs[0] = Fp::one();
|
||||
pubinputs[0] += Fp::one();
|
||||
let pubinput = params
|
||||
.commit_lagrange(&pubinputs, Blind(Field::zero()))
|
||||
.commit_lagrange(&pubinputs, Blind(Field::one()))
|
||||
.to_affine();
|
||||
|
||||
for _ in 0..100 {
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ impl<C: CurveAffine> Proof<C> {
|
|||
// Compute commitments to aux wire polynomials
|
||||
let aux_commitments_projective: Vec<_> = aux
|
||||
.iter()
|
||||
.map(|poly| params.commit_lagrange(poly, Blind(C::Scalar::zero()))) // TODO: bad blind?
|
||||
.map(|poly| params.commit_lagrange(poly, Blind::default()))
|
||||
.collect();
|
||||
let mut aux_commitments = vec![C::zero(); aux_commitments_projective.len()];
|
||||
C::Projective::batch_to_affine(&aux_commitments_projective, &mut aux_commitments);
|
||||
|
|
@ -501,7 +501,7 @@ impl<C: CurveAffine> Proof<C> {
|
|||
accumulate(
|
||||
point_index,
|
||||
&aux_polys[wire.0],
|
||||
Blind(C::Scalar::zero()),
|
||||
Blind::default(),
|
||||
aux_evals[query_index],
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue