package octez-plonk

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Parameters

Signature

module PP = PP
exception Entry_not_in_table of string
val q_label : string
val q_table : string
val f : string
val fg : string
val z : string
val t : string
val h1 : string
val h2 : string
val zg : string
val tg : string
val h1g : string
val h2g : string
val l1 : string
val ln_p_1 : string
val x_m_1 : string
val x : string
type public_parameters = (PP.prover_public_parameters * PP.verifier_public_parameters) * Plonk.Bls.Scalar.t array list * Plonk.Bls.Poly.t SMap.t
val get_alpha : 'a option -> 'a
val gate_identity : circuit_prefix:(string -> string) -> prefix:(string -> SMap.key) -> n:int -> generator:Plonk.Bls.Scalar.t -> wires_names:string list -> alpha:Plonk.Bls.Scalar.t -> beta:Plonk.Bls.Scalar.t -> gamma:Plonk.Bls.Scalar.t -> Identities.verifier_identities
val prover_identities_aux : circuit_prefix:(string -> SMap.key) -> prefix:(string -> SMap.key) -> wires_names:string list -> alpha:Plonk.Bls.Scalar.t -> beta:Plonk.Bls.Scalar.t -> gamma:Plonk.Bls.Scalar.t -> int -> Identities.prover_identities
module Plookup_poly : sig ... end
val srs_size : length_table:int -> int
val polynomials_degree : unit -> int
val common_preprocessing : n:int -> domain:Bls.Evaluations.domain -> evaluations:Bls.Evaluations.t SMap.t -> Bls.Evaluations.t SMap.t
val preprocessing : domain:Bls.Evaluations.domain -> tables:Plonk.Bls.Scalar.t array list -> alpha:Plonk.Bls.Scalar.t option -> unit -> Bls.Evaluations.polynomial SMap.t
val format_tables : tables:Plonk.Bls.Scalar.t array list List.t -> nb_columns:int -> length_not_padded:int -> length_padded:int -> Plonk.Bls.Scalar.t array list
val prover_identities : ?circuit_prefix:(SMap.key -> SMap.key) -> proof_prefix:(string -> SMap.key) -> wires_names:string list -> alpha:Plonk.Bls.Scalar.t option -> beta:Plonk.Bls.Scalar.t -> gamma:Plonk.Bls.Scalar.t -> n:int -> unit -> Identities.prover_identities
val verifier_identities : ?circuit_prefix:(string -> string) -> proof_prefix:(string -> SMap.key) -> n:int -> generator:Plonk.Bls.Scalar.t -> wires_names:string list -> alpha:Plonk.Bls.Scalar.t option -> beta:Plonk.Bls.Scalar.t -> gamma:Plonk.Bls.Scalar.t -> unit -> Identities.verifier_identities
val f_map_contribution : wires:Bls.Evaluations.t SMap.t -> gates:Plonk.Bls.Scalar.t array SMap.t -> tables:Plonk.Bls.Scalar.t array list -> alpha:Plonk.Bls.Scalar.t option -> beta:Plonk.Bls.Scalar.t -> gamma:Plonk.Bls.Scalar.t -> domain:Plonk.Bls.Domain.t -> Bls.Evaluations.polynomial SMap.t
OCaml

Innovation. Community. Security.