Module Polynomial_commitment.Make

Parameters

Signature

include Kzg.Interfaces.Polynomial_commitment
val query_t : query Repr.t
val answer_t : answer Repr.t
type proof
val proof_t : proof Repr.t
val commit : ?all_keys:string list -> Public_parameters.prover -> secret -> Commitment.t * Commitment.prover_aux
val evaluate : secret -> query -> answer
type prover_aux = {
  1. r : Kzg.Bls.Scalar.t;
  2. s_list : Kzg.Bls.Scalar.t SMap.t list;
}

Auxiliary information needed by the prover for the meta-verification in aPlonK