package octez-plonk

  1. Overview
  2. Docs
Plonk zero-knowledge proving system

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-17.3.tar.gz
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc

doc/octez-plonk.aggregation/Aggregation/Polynomial_protocol/index.html

Module Aggregation.Polynomial_protocolSource

Sourcemodule SMap = Plonk.SMap
Sourcemodule type S = sig ... end
Sourcemodule KZG_Answers_commitment : sig ... end
include sig ... end
Sourcemodule PC : sig ... end
Sourcemodule Answers_commitment : sig ... end
Sourcetype prover_public_parameters = PC.Public_parameters.prover
Sourceval prover_public_parameters_t : prover_public_parameters Repr.t
Sourcetype verifier_public_parameters = PC.Public_parameters.verifier
Sourceval verifier_public_parameters_t : verifier_public_parameters Repr.t
Sourcetype transcript = PC.transcript
Sourceval transcript_t : transcript Repr.t
Sourceval proof_t : proof Repr.t
Sourceval prove : prover_public_parameters -> transcript -> n:int -> generator:Plonk.Bls.Scalar.t -> secrets:(Plonk.Bls.Poly.t Plonk.SMap.t * PC.Commitment.prover_aux) list -> eval_points:Plonk.Identities.eval_point list list -> evaluations:Plonk.Bls.Evaluations.t Plonk.SMap.t -> identities:Plonk.Identities.prover_identities -> nb_of_t_chunks:int -> proof * transcript
Sourceval verify : verifier_public_parameters -> transcript -> n:int -> generator:Plonk.Bls.Scalar.t -> commitments:PC.Commitment.t list -> eval_points:Plonk.Identities.eval_point list list -> identities:Plonk.Identities.verifier_identities -> proof -> bool * transcript
Sourcetype prover_aux = Make_aggregation(Polynomial_commitment)(KZG_Answers_commitment).prover_aux = {
  1. answers : Plonk.Bls.Scalar.t SMap.t SMap.t list;
  2. batch : Plonk.Bls.Scalar.t SMap.t list;
  3. alpha : Plonk.Bls.Scalar.t;
  4. x : Plonk.Bls.Scalar.t;
  5. r : Plonk.Bls.Scalar.t;
  6. cms_answers : Answers_commitment.t SMap.t;
  7. t_answers : Plonk.Bls.Scalar.t list;
}

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

Sourcetype verifier_aux = Make_aggregation(Polynomial_commitment)(KZG_Answers_commitment).verifier_aux = {
  1. alpha : Plonk.Bls.Scalar.t;
  2. x : Plonk.Bls.Scalar.t;
  3. r : Plonk.Bls.Scalar.t;
}

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

Sourceval prove_super_aggregation : prover_public_parameters -> transcript -> commit_to_answers_map: (Plonk.Bls.Scalar.t array -> Answers_commitment.t) SMap.t -> n:int -> generator:Plonk.Bls.Scalar.t -> secrets:(Plonk.Bls.Poly.t SMap.t * PC.Commitment.prover_aux) list -> eval_points:Plonk.Identities.eval_point list list -> evaluations:Plonk.Bls.Evaluations.t SMap.t -> identities:Plonk.Identities.prover_identities -> nb_of_t_chunks:int -> (proof * prover_aux) * transcript
Sourceval verify_super_aggregation : verifier_public_parameters -> transcript -> n:int -> generator:Plonk.Bls.Scalar.t -> commitments:PC.Commitment.t list -> eval_points:Plonk.Identities.eval_point list list -> s_list:Plonk.Bls.Scalar.t SMap.t list -> cms_answers:Answers_commitment.public SMap.t -> t_answers:Plonk.Bls.Scalar.t list -> ids_batch:(Plonk.Bls.Scalar.t * int) SMap.t -> proof -> (bool * verifier_aux) * PC.transcript
OCaml

Innovation. Community. Security.