Expand description
This module implements Dlog-based polynomial commitment schema. The following functionality is implemented
- Commit to polynomial with its max degree
- Open polynomial commitment batch at the given evaluation point and scaling factor scalar producing the batched opening proof
- Verify batch of batched opening proofs
Modules§
Structs§
- Batch
Evaluation Proof - Contains the batch evaluation
- Blinded
Commitment - A commitment to a polynomial with some blinding factors.
- Evaluation
- Contains the evaluation of a polynomial commitment at a set of points.
- Poly
Comm - Represent a polynomial commitment when the type is instantiated with a curve.
Traits§
- Commitment
Curve - A useful trait extending [
AffineRepr] for commitments. - Endo
Curve - A trait extending
CommitmentCurvefor endomorphisms.
Functions§
- absorb_
commitment - b_poly
- Evaluates the challenge polynomial
b(X)at pointx. - b_
poly_ coefficients - Computes the coefficients of the challenge polynomial
b(X). - combine_
commitments - Populates the parameters
scalarsandpoints. - combined_
inner_ product - Computes the linearization of evaluations.
- shift_
scalar - Inside the circuit, we have a specialized scalar multiplication which computes either
- squeeze_
challenge - squeeze_
prechallenge