package octez-plonk

  1. Overview
  2. Docs
module Public_parameters : sig ... end
module Commitment : sig ... end
type secret = Commitment.secret
type transcript = Stdlib.Bytes.t
val pippenger : ?start:int -> ?len:int -> Bls.G1.t array -> Plonk.Bls.G1.Scalar.t array -> Bls.G1.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 -> Bls.G1.t 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.