Kzg_pack_impl.BasePC
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 Kzg.SMap.t ->
Aggregation.Pack.commitment * (PC.Commitment.t * PC.Commitment.prover_aux)
type proof = {
pc_proof : PC.proof;
packed_values : Aggregation.Pack.packed list;
pack_proof : Aggregation.Pack.proof;
}
val proof_t : proof Repr.t
val batch_polys :
Kzg.Bls.Poly.scalar ->
Kzg.Bls.Poly.t Kzg.SMap.t ->
Kzg.Bls.Poly.t
val batch_answers :
Kzg.Bls.Scalar.t ->
Kzg.Bls.Scalar.t Kzg.SMap.t Kzg.SMap.t ->
Kzg.Bls.Scalar.t Kzg.SMap.t
val prove_pack :
Public_parameters.prover ->
Kzg__Utils.Transcript.t ->
Kzg.Bls.Poly.t Kzg.SMap.t list ->
Commitment.prover_aux list ->
PC.query list ->
Kzg.Bls.Scalar.t Kzg.SMap.t Kzg.SMap.t list ->
(proof * prover_aux) * Kzg.Utils.Transcript.t
val prove :
Public_parameters.prover ->
Kzg.Utils.Transcript.t ->
Kzg.Bls.Poly.t Kzg.SMap.t list ->
Commitment.prover_aux list ->
PC.query list ->
Kzg.Bls.Scalar.t Kzg.SMap.t Kzg.SMap.t list ->
proof * Kzg.Utils.Transcript.t
val prove_super_aggregation :
Public_parameters.prover ->
Kzg.Utils.Transcript.t ->
Kzg.Bls.Poly.t Kzg.SMap.t list ->
Commitment.prover_aux list ->
PC.query list ->
Kzg.Bls.Scalar.t Kzg.SMap.t Kzg.SMap.t list ->
(proof * prover_aux) * Kzg.Utils.Transcript.t
val verify_pack :
Public_parameters.verifier ->
Aggregation.Pack.randomness ->
Kzg.Utils.Transcript.t ->
Aggregation.Pack.commitment list ->
PC.query list ->
Kzg.Bls.Scalar.t Kzg.SMap.t Plonk.List.t ->
proof ->
bool * Kzg.Utils.Transcript.t
val verify :
Public_parameters.verifier ->
Kzg.Utils.Transcript.t ->
Aggregation.Pack.commitment list ->
PC.query list ->
Kzg.Bls.Scalar.t Kzg.SMap.t Kzg.SMap.t list ->
proof ->
bool * Kzg.Utils.Transcript.t
val verify_super_aggregation :
Public_parameters.verifier ->
Kzg.Utils.Transcript.t ->
Aggregation.Pack.commitment list ->
PC.query list ->
Kzg.Bls.Scalar.t Kzg.SMap.t Plonk.List.t ->
proof ->
bool * Kzg.Bls.Scalar.t * Kzg.Utils.Transcript.t