package tezos-plonk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include sig ... end
module Scalar = BasePC.Scalar
module Polynomial = BasePC.Polynomial
module Scalar_map : Stdlib.Map.S with type key = Scalar.t
type secret = Polynomial.Polynomial.t Plonk.SMap.t
type query = Scalar.t Plonk.SMap.t
val query_t : query Repr.t
val answer_t : answer Repr.t
type proof
val proof_t : proof Repr.t
type transcript = Stdlib.Bytes.t
module Public_parameters = BasePC.Public_parameters
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
val merge_answers : answer list -> answer
type worker_msg
val worker_msg_t : worker_msg Repr.t
type main_prover_state
type main_prover_msg
val main_prover_msg_t : main_prover_msg Repr.t
val distributed_prove_main1 : Public_parameters.prover -> transcript -> query list -> answer list -> secret list -> Commitment.prover_aux list -> worker_msg * main_prover_state
val distributed_prove_worker : secret list -> Commitment.prover_aux list -> worker_msg -> main_prover_msg
val distributed_prove_main2 : main_prover_state -> main_prover_msg list -> proof * transcript
OCaml

Innovation. Community. Security.