package tezos-plonk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Scalar : sig ... end
module Polynomial : sig ... end
module Scalar_map : sig ... end
module Fr_generation : sig ... end
type query = Scalar.t Plonk.SMap.t
val query_t : query Repr.t
val answer_t : answer Repr.t
val proof_t : proof Repr.t
type transcript = Stdlib.Bytes.t
module Public_parameters : sig ... end
module Commitment : sig ... end
val evaluate : secret -> query -> answer
val prove : Public_parameters.prover -> transcript -> secret list -> Commitment.prover_aux list -> query list -> answer list -> proof * transcript
val verify : Public_parameters.verifier -> transcript -> Commitment.t list -> query list -> answer list -> proof -> bool * transcript
type prover_aux = Polynomial_commitment.prover_aux = {
  1. r : Scalar.t;
  2. s_list : Scalar.t Plonk.SMap.t list;
  3. cm_answers : Scalar.t;
}
val poseidon : Scalar.t array -> Scalar.t
val verify_super_aggregation : Public_parameters.verifier -> transcript -> Commitment.t list -> query list -> Scalar.t Plonk.SMap.t list -> Scalar.t -> proof -> bool * Scalar.t * transcript
OCaml

Innovation. Community. Security.