package octez-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Public_parameters : sig ... end
module Commitment : sig ... end
type secret = Commitment.secret
val query_t : Plonk.Bls.Scalar.t SMap.t Repr.ty
val answer_t : Plonk.Bls.Scalar.t SMap.t SMap.t Repr.ty
type transcript = Stdlib.Bytes.t
type proof = Bls.G1.t SMap.t
val proof_t : Bls.G1.t SMap.t Repr.ty
val sample_ys : Stdlib.Bytes.t -> 'a SMap.t -> Plonk.Bls.Scalar.t SMap.t * Stdlib.Bytes.t
val verify_single : Public_parameters.verifier -> Stdlib.Bytes.t -> Bls.G1.t SMap.t -> Plonk.Bls.Scalar.t SMap.t -> Plonk.Bls.Scalar.t SMap.t SMap.t -> Bls.G1.t SMap.t -> bool * bytes
val group_secrets : secret list -> secret
val group_cmts : Commitment.t list -> Commitment.t
val group_queries : query list -> query
val group_answers : answer list -> answer
val evaluate : Plonk.Bls.Poly.t SMap.t -> query -> answer
val prove : Public_parameters.prover -> bytes -> secret list -> 'a -> query list -> answer list -> Plonk.Bls.Srs_g1.elt SMap.t * bytes
val verify : Public_parameters.verifier -> bytes -> Commitment.t list -> query list -> answer list -> Bls.G1.t SMap.t -> bool * bytes
OCaml

Innovation. Community. Security.