package octez-libs

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

Parameters

Signature

module PP = PP
module Commitment = PP.PC.Commitment
val z_name : string
val zg_name : string -> string
val l1 : string
val ids_label : string
val si_name : int -> string
val ss_name : int -> string
val shared_z_names : string list
type public_parameters = {
  1. g_map_perm_PP : Plonk.Bls.Poly.t SMap.t;
  2. cm_g_map_perm_PP : Commitment.t SMap.t;
  3. s_poly_map : Plonk.Bls.Poly.t SMap.t;
  4. cm_s_poly_map : Commitment.t SMap.t;
  5. permutation : int array;
}
val srs_size : zero_knowledge:bool -> n:int -> int
val quadratic_non_residues : Plonk.Bls.Scalar.t array
val get_k : int -> Plonk.Bls.Scalar.t
module Partition : sig ... end
module Preprocessing : sig ... end
module Permutation_poly : sig ... end
module Shared_argument : sig ... end
val polynomials_degree : nb_wires:int -> int
val build_permutation : Partition.IntMap.key array array -> int array
val preprocessing : ?external_prefix:string -> domain:Plonk.Bls.Domain.t -> permutation:int array -> nb_wires:int -> unit -> Bls.Evaluations.polynomial SMap.t
val common_preprocessing : nb_wires:int -> domain:Plonk.Bls.Domain.t -> evaluations:Bls.Evaluations.t SMap.t -> Bls.Evaluations.t SMap.t
val external_prefix_fun : string -> string -> string
val prover_identities : ?external_prefix:string -> ?circuit_prefix:(Stdlib.String.t -> Stdlib.String.t) -> wires_names:Stdlib.String.t list -> beta:Bls.Evaluations.scalar -> gamma:Bls.Evaluations.scalar -> n:int -> unit -> Bls.Evaluations.t SMap.t -> Bls.Evaluations.t SMap.t
val verifier_identities : ?external_prefix:string -> ?circuit_prefix:(string -> string) -> nb_proofs:int -> generator:Plonk.Bls.Scalar.t -> n:int -> wires_names:Stdlib.String.t list -> beta:Plonk.Bls.Scalar.t -> gamma:Plonk.Bls.Scalar.t -> delta:Plonk.Bls.Scalar.t -> unit -> Plonk.Bls.Scalar.t -> Plonk.Bls.Scalar.t SMap.t SMap.t -> Plonk.Bls.Scalar.t SMap.t
val f_map_contribution : ?external_prefix:string -> permutation:int array -> values:Bls.Evaluations.t SMap.t -> beta:Plonk.Bls.Scalar.t -> gamma:Plonk.Bls.Scalar.t -> domain:Plonk.Bls.Domain.t -> unit -> Bls.Evaluations.polynomial SMap.t
val cs : ?external_prefix:string -> l1:L.Num.scalar L.Num.repr -> ss_list:L.Num.scalar L.Num.repr list -> beta:L.Num.scalar L.Num.repr -> gamma:L.Num.scalar L.repr -> x:L.Num.scalar L.Num.repr -> z:L.Num.scalar L.Num.repr -> zg:L.Num.scalar L.Num.repr -> aggregated_wires:L.Num.scalar L.repr list -> unit -> (string * L.Num.scalar L.Num.repr) list L.t
OCaml

Innovation. Community. Security.