Commit bbdb37e 1 parent 2d627e3 commit bbdb37e Copy full SHA for bbdb37e
File tree 2 files changed +8
-6
lines changed
2 files changed +8
-6
lines changed Original file line number Diff line number Diff line change 13
13
- [ \# 82] ( https://github.com/arkworks-rs/poly-commit/pull/82 ) Add multivariate opening challenge strategy. Integrate with sponge API.
14
14
15
15
### Improvements
16
+ - [ \# 152] ( https://github.com/arkworks-rs/poly-commit/issues/152 ) Expose ` kzg10::open_with_witness_polynomial ` and ` open ` downstream.
16
17
17
18
### Bug fixes
18
19
Original file line number Diff line number Diff line change @@ -211,9 +211,9 @@ where
211
211
212
212
/// Compute witness polynomial.
213
213
///
214
- /// The witness polynomial w(x) the quotient of the division (p(x) - p(z)) / (x - z)
215
- /// Observe that this quotient does not change with z because
216
- /// p(z) is the remainder term. We can therefore omit p(z) when computing the quotient.
214
+ /// The witness polynomial $ w(x)$ the quotient of the division (p(x) - p(z)) / (x - z)
215
+ /// Observe that this quotient does not change with $z$ because
216
+ /// $ p(z)$ is the remainder term. We can therefore omit $ p(z)$ when computing the quotient.
217
217
pub fn compute_witness_polynomial (
218
218
p : & P ,
219
219
point : P :: Point ,
@@ -239,7 +239,8 @@ where
239
239
Ok ( ( witness_polynomial, random_witness_polynomial) )
240
240
}
241
241
242
- pub ( crate ) fn open_with_witness_polynomial < ' a > (
242
+ /// Yields a [`Proof`] with a witness polynomial.
243
+ pub fn open_with_witness_polynomial < ' a > (
243
244
powers : & Powers < E > ,
244
245
point : P :: Point ,
245
246
randomness : & Randomness < E :: ScalarField , P > ,
@@ -282,8 +283,8 @@ where
282
283
} )
283
284
}
284
285
285
- /// On input a polynomial `p` and a point `point`, outputs a proof for the same.
286
- pub ( crate ) fn open < ' a > (
286
+ /// On input a polynomial `p` and a `point`, outputs a [`Proof`] for the same.
287
+ pub fn open < ' a > (
287
288
powers : & Powers < E > ,
288
289
p : & P ,
289
290
point : P :: Point ,
You can’t perform that action at this time.
0 commit comments