package bls12-381-unix

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

Install

dune-project
 Dependency

Authors

Maintainers

Sources

ocaml-bls12-381-1.0.1.tar.bz2
md5=77841c4e31fd85b70b8a0e52f80ca37d
sha512=f69d611deb6132d07f0a8ecde7bb118f733de802e241056c5e2b194579c5723a12d58e93410bd56f68a608568de035b61f018d1fea52388f54875d77b8f386c2

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

Module G1Source

Sourcemodule Stubs : sig ... end
Sourcemodule G1 : sig ... end
include module type of struct include G1 end
Sourceexception Not_on_curve of Bytes.t
Sourcetype t = Blst_bindings.Types.blst_g1_t Ctypes.ptr
Sourceval size_in_bytes : int
Sourcemodule Scalar = G1.Scalar
Sourceval cofactor_fr : Blst_bindings.Types.blst_fr_t Ctypes.ptr
Sourceval empty : unit -> Blst_bindings.Types.blst_g1_t Ctypes.ptr
Sourceval check_bytes : bytes -> bool
Sourceval of_bytes_opt : bytes -> Blst_bindings.Types.blst_g1_t Ctypes.ptr option
Sourceval of_bytes_exn : Bytes.t -> Blst_bindings.Types.blst_g1_t Ctypes.ptr
Sourceval zero : Blst_bindings.Types.blst_g1_t Ctypes.ptr
Sourceval one : Blst_bindings.Types.blst_g1_t Ctypes.ptr
Sourceval of_compressed_bytes_opt : bytes -> Blst_bindings.Types.blst_g1_t Ctypes.ptr option
Sourceval of_compressed_bytes_exn : Bytes.t -> Blst_bindings.Types.blst_g1_t Ctypes.ptr
Sourceval to_bytes : Blst_bindings.Types.blst_g1_t Ctypes_static.ptr -> bytes
Sourceval to_compressed_bytes : Blst_bindings.Types.blst_g1_t Ctypes_static.ptr -> bytes
Sourceval add : Blst_bindings.Types.blst_g1_t Ctypes_static.ptr -> Blst_bindings.Types.blst_g1_t Ctypes_static.ptr -> Blst_bindings.Types.blst_g1_t Ctypes.ptr
Sourceval double : Blst_bindings.Types.blst_g1_t Ctypes_static.ptr -> Blst_bindings.Types.blst_g1_t Ctypes.ptr
Sourceval mul : Blst_bindings.Types.blst_g1_t Ctypes_static.ptr -> Blst_bindings.Types.blst_fr_t Ctypes_static.ptr -> Blst_bindings.Types.blst_g1_t Ctypes.ptr
Sourceval b : Blst_bindings.Types.blst_fq_t Ctypes.ptr
Sourceval random : ?state:Random.State.t -> unit -> Blst_bindings.Types.blst_g1_t Ctypes.ptr
Sourceval eq : Blst_bindings.Types.blst_g1_t Ctypes_static.ptr -> Blst_bindings.Types.blst_g1_t Ctypes_static.ptr -> bool Blst_stubs.return
Sourceval is_zero : Blst_bindings.Types.blst_g1_t Ctypes_static.ptr -> bool Blst_stubs.return
Sourceval order_minus_one : Blst_bindings.Types.blst_fr_t Ctypes.ptr
Sourceval negate : Blst_bindings.Types.blst_g1_t Ctypes.ptr -> Blst_bindings.Types.blst_g1_t Ctypes.ptr
Sourceval of_z_opt : x:Z.t -> y:Z.t -> Blst_bindings.Types.blst_g1_t Ctypes.ptr option
Sourceval fft : domain:Scalar.t array -> points:t array -> t array
Sourceval ifft : domain:Scalar.t array -> points:t array -> t array
Sourceval hash_to_curve : bytes -> bytes -> Blst_bindings.Types.blst_g1_t Ctypes.ptr