package bls12-381-unix

  1. Overview
  2. Docs
UNIX version of BLS12-381 primitives implementing the virtual package bls12-381

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocaml-bls12-381-0.5.0.tar.bz2
md5=5e550e69578c3b991b661c16f012a644
sha512=593051b6de70b8aa433161e8e49f9067cfafb9bbabc0c979958d0f7e1ebd6dd8f95cbb525343b7182a773e44da8d466e7b192578a579442eb58416855362ab77

doc/bls12-381-unix/G2/index.html

Module G2Source

Sourcemodule G2_stubs : sig ... end
Sourcemodule Stubs : sig ... end
include sig ... end
Sourceexception Not_on_curve of Bytes.t
Sourcetype t
Sourceval size_in_bytes : int
Sourcemodule Scalar : sig ... end
Sourceval empty : unit -> t
Sourceval check_bytes : Bytes.t -> bool
Sourceval of_bytes_opt : Bytes.t -> t option
Sourceval of_bytes_exn : Bytes.t -> t
Sourceval of_compressed_bytes_opt : Bytes.t -> t option
Sourceval of_compressed_bytes_exn : Bytes.t -> t
Sourceval to_bytes : t -> Bytes.t
Sourceval to_compressed_bytes : t -> Bytes.t
Sourceval zero : t
Sourceval one : t
Sourceval is_zero : t -> bool
Sourceval random : ?state:Random.State.t -> unit -> t
Sourceval add : t -> t -> t
Sourceval double : t -> t
Sourceval negate : t -> t
Sourceval eq : t -> t -> bool
Sourceval mul : t -> Scalar.t -> t
Sourceval fft : domain:Scalar.t array -> points:t list -> t list
Sourceval ifft : domain:Scalar.t array -> points:t list -> t list
Sourceval of_z_opt : x:(Z.t * Z.t) -> y:(Z.t * Z.t) -> t option