package bls12-381-unix

  1. Overview
  2. Docs
module StubsFq12 : sig ... end
module Fq12 : sig ... end
include module type of struct include Fq12 end
exception Not_in_field of Stdlib.Bytes.t
val order : Z.t
val size_in_bytes : int
val to_bytes : Blst_bindings.Types.blst_fq12_t Ctypes.ptr -> bytes
val of_bytes_opt : bytes -> Blst_bindings.Types.blst_fq12_t Ctypes.ptr option
val random : ?state:Stdlib.Random.State.t -> unit -> Blst_bindings.Types.blst_fq12_t Ctypes.ptr
val of_bytes_exn : Stdlib.Bytes.t -> Blst_bindings.Types.blst_fq12_t Ctypes.ptr
val one : Blst_bindings.Types.blst_fq12_t Ctypes.ptr
val zero : Blst_bindings.Types.blst_fq12_t Ctypes.ptr
val eq : Blst_bindings.Types.blst_fq12_t Ctypes_static.ptr -> Blst_bindings.Types.blst_fq12_t Ctypes_static.ptr -> bool Blst_stubs.return
val is_zero : Blst_bindings.Types.blst_fq12_t Ctypes_static.ptr -> bool Blst_stubs.return
val is_one : Blst_bindings.Types.blst_fq12_t Ctypes_static.ptr -> bool Blst_stubs.return
val mul : Blst_bindings.Types.blst_fq12_t Ctypes_static.ptr -> Blst_bindings.Types.blst_fq12_t Ctypes_static.ptr -> Blst_bindings.Types.blst_fq12_t Ctypes.ptr
val inverse_opt : Blst_bindings.Types.blst_fq12_t Ctypes_static.ptr -> Blst_bindings.Types.blst_fq12_t Ctypes.ptr option
val inverse_exn : Blst_bindings.Types.blst_fq12_t Ctypes_static.ptr -> Blst_bindings.Types.blst_fq12_t Ctypes.ptr
val of_z : Z.t -> Z.t -> Z.t -> Z.t -> Z.t -> Z.t -> Z.t -> Z.t -> Z.t -> Z.t -> Z.t -> Z.t -> Blst_bindings.Types.blst_fq12_t Ctypes.ptr
val of_string : string -> string -> string -> string -> string -> string -> string -> string -> string -> string -> string -> string -> Blst_bindings.Types.blst_fq12_t Ctypes.ptr
val two_z : Z.t
val pow : Blst_bindings.Types.blst_fq12_t Ctypes_static.ptr -> Z.t -> Blst_bindings.Types.blst_fq12_t Ctypes.ptr
OCaml

Innovation. Community. Security.