package tezos-plonk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Kzg_impl : sig ... end
module type Public_parameters_sig = sig ... end
module type Commitment_sig = sig ... end
module type S = sig ... end
include S with type Scalar.t = Bls.Scalar.t and type Polynomial.Srs.Srs_g1.elt = Bls.G1.t and type Polynomial.Srs.Srs_g2.elt = Bls.G2.t
module Scalar : Bls.Scalar_sig with type t = Bls.Scalar.t
module Polynomial : Bls12_381_polynomial.S with type scalar = Scalar.t with type Srs.Srs_g1.elt = Plonk.Bls.G1.t with type Srs.Srs_g2.elt = Plonk.Bls.G2.t
module Scalar_map : Stdlib.Map.S with type key = Scalar.t
type secret = Polynomial.Polynomial.t SMap.t
type query = Scalar.t SMap.t
val query_t : query Repr.t
type answer = Scalar.t SMap.t SMap.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
OCaml

Innovation. Community. Security.