package octez-plonk

  1. Overview
  2. Docs
include module type of BasePC with module Commitment := Commitment
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
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
type partial_prover_aux
val distributed_expand_transcript : transcript -> query list -> answer list -> transcript
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 * partial_prover_aux
OCaml

Innovation. Community. Security.