package octez-libs

  1. Overview
  2. Docs
A package that contains multiple base libraries used by the Octez suite

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

doc/octez-libs.kzg/Kzg/Bls/G1/index.html

Module Bls.G1Source

include module type of struct include Bls12_381.G1 end
exception Not_on_curve of Bytes.t
type t = Bls12_381.G1.t
type affine = Bls12_381.G1.affine
val affine_of_jacobian : t -> affine
val jacobian_of_affine : affine -> t
type affine_array = Bls12_381.G1.affine_array
val to_affine_array : t array -> affine_array
val of_affine_array : affine_array -> t array
val size_of_affine_array : affine_array -> int
val size_in_memory : int
val compressed_size_in_bytes : int
val size_in_bytes : int
module Scalar = Bls12_381.G1.Scalar
val check_bytes : Bytes.t -> bool
val of_bytes_opt : Bytes.t -> t option
val of_bytes_exn : Bytes.t -> t
val of_compressed_bytes_opt : Bytes.t -> t option
val of_compressed_bytes_exn : Bytes.t -> t
val to_bytes : t -> Bytes.t
val to_compressed_bytes : t -> Bytes.t
val zero : t
val one : t
val is_zero : t -> bool
val copy : t -> t
val random : ?state:Random.State.t -> unit -> t
val add : t -> t -> t
val add_inplace : t -> t -> unit
val add_bulk : t list -> t
val double : t -> t
val negate : t -> t
val eq : t -> t -> bool
val mul : t -> Scalar.t -> t
val mul_inplace : t -> Scalar.t -> unit
val hash_to_curve : Bytes.t -> Bytes.t -> t
val pippenger : ?start:int -> ?len:int -> t array -> Scalar.t array -> t
val pippenger_with_affine_array : ?start:int -> ?len:int -> affine_array -> Scalar.t array -> t
val of_z_opt : x:Z.t -> y:Z.t -> t option
Sourceval t : t Repr.t
OCaml

Innovation. Community. Security.