package bls12-381-unix

  1. Overview
  2. Docs
val to_affine : (Blst_bindings.Types.blst_g2_affine_t Ctypes_static.ptr -> Blst_bindings.Types.blst_g2_t Ctypes_static.ptr -> unit Blst_stubs.return) Blst_stubs.result
val from_affine : (Blst_bindings.Types.blst_g2_t Ctypes_static.ptr -> Blst_bindings.Types.blst_g2_affine_t Ctypes_static.ptr -> unit Blst_stubs.return) Blst_stubs.result
val dadd : (Blst_bindings.Types.blst_g2_t Ctypes_static.ptr -> Blst_bindings.Types.blst_g2_t Ctypes_static.ptr -> Blst_bindings.Types.blst_g2_t Ctypes_static.ptr -> unit Blst_stubs.return) Blst_stubs.result
val double : (Blst_bindings.Types.blst_g2_t Ctypes_static.ptr -> Blst_bindings.Types.blst_g2_t Ctypes_static.ptr -> unit Blst_stubs.return) Blst_stubs.result
val is_zero : (Blst_bindings.Types.blst_g2_t Ctypes_static.ptr -> bool Blst_stubs.return) Blst_stubs.result
val equal : (Blst_bindings.Types.blst_g2_t Ctypes_static.ptr -> Blst_bindings.Types.blst_g2_t Ctypes_static.ptr -> bool Blst_stubs.return) Blst_stubs.result
val cneg : (Blst_bindings.Types.blst_g2_t Ctypes_static.ptr -> bool -> unit Blst_stubs.return) Blst_stubs.result
val in_g2 : (Blst_bindings.Types.blst_g2_t Ctypes_static.ptr -> bool Blst_stubs.return) Blst_stubs.result
val mult : (Blst_bindings.Types.blst_g2_t Ctypes_static.ptr -> Blst_bindings.Types.blst_g2_t Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> Unsigned.size_t -> unit Blst_stubs.return) Blst_stubs.result
val serialize : (bytes Ctypes_static.ocaml -> Blst_bindings.Types.blst_g2_t Ctypes_static.ptr -> unit Blst_stubs.return) Blst_stubs.result
val compress : (bytes Ctypes_static.ocaml -> Blst_bindings.Types.blst_g2_t Ctypes_static.ptr -> unit Blst_stubs.return) Blst_stubs.result
val deserialize : (Blst_bindings.Types.blst_g2_affine_t Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> int Blst_stubs.return) Blst_stubs.result
val uncompress : (Blst_bindings.Types.blst_g2_affine_t Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> int Blst_stubs.return) Blst_stubs.result
val hash_to_curve : (Blst_bindings.Types.blst_g2_t Ctypes_static.ptr -> bytes Ctypes_static.ocaml -> Unsigned.size_t -> bytes Ctypes_static.ocaml -> Unsigned.size_t -> bytes Ctypes_static.ocaml -> Unsigned.size_t -> unit Blst_stubs.return) Blst_stubs.result
OCaml

Innovation. Community. Security.