Polynomial_commitment.Make_impl
module PC :
Kzg.Interfaces.Polynomial_commitment
with type Commitment.t = Kzg.Bls.G1.t SMap.t
type secret = PC.secret
type query = PC.query
val query_t : PC.query Repr.t
type answer = PC.answer
val answer_t : PC.answer Repr.t
module Commitment : sig ... end
module Public_parameters : sig ... end
val commit :
?all_keys:Stdlib.String.t list ->
Public_parameters.prover ->
Kzg.Bls.Poly.t SMap.t ->
Pack.commitment * (PC.Commitment.t * PC.Commitment.prover_aux)
val proof_t : proof Repr.t
val batch_polys :
Kzg.Bls.Poly.scalar ->
Kzg.Bls.Poly.t SMap.t ->
Kzg.Bls.Poly.t
val batch_answers :
Kzg.Bls.Scalar.t ->
Kzg.Bls.Scalar.t SMap.t SMap.t ->
Kzg.Bls.Scalar.t SMap.t
val prove_pack :
Public_parameters.prover ->
Kzg__Utils.Transcript.t ->
Kzg.Bls.Poly.t SMap.t list ->
Commitment.prover_aux list ->
PC.query list ->
Kzg.Bls.Scalar.t SMap.t SMap.t list ->
(proof * prover_aux) * Kzg.Utils.Transcript.t
val prove :
Public_parameters.prover ->
Kzg.Utils.Transcript.t ->
Kzg.Bls.Poly.t SMap.t list ->
Commitment.prover_aux list ->
PC.query list ->
Kzg.Bls.Scalar.t SMap.t SMap.t list ->
proof * Kzg.Utils.Transcript.t
val prove_super_aggregation :
Public_parameters.prover ->
Kzg.Utils.Transcript.t ->
Kzg.Bls.Poly.t SMap.t list ->
Commitment.prover_aux list ->
PC.query list ->
Kzg.Bls.Scalar.t SMap.t SMap.t list ->
(proof * prover_aux) * Kzg.Utils.Transcript.t
val verify_pack :
Public_parameters.verifier ->
Pack.randomness ->
Kzg.Utils.Transcript.t ->
Pack.commitment list ->
PC.query list ->
Kzg.Bls.Scalar.t SMap.t Plonk.List.t ->
proof ->
bool * Kzg.Utils.Transcript.t
val verify :
Public_parameters.verifier ->
Kzg.Utils.Transcript.t ->
Pack.commitment list ->
PC.query list ->
Kzg.Bls.Scalar.t SMap.t SMap.t list ->
proof ->
bool * Kzg.Utils.Transcript.t
val verify_super_aggregation :
Public_parameters.verifier ->
Kzg.Utils.Transcript.t ->
Pack.commitment list ->
PC.query list ->
Kzg.Bls.Scalar.t SMap.t Plonk.List.t ->
proof ->
bool * Kzg.Bls.Scalar.t * Kzg.Utils.Transcript.t