package bls12-381-unix

  1. Overview
  2. Docs
type affine
type affine_array
type jacobian
val allocate_g2 : unit -> jacobian
val allocate_g2_affine : unit -> affine
val allocate_g2_affine_contiguous_array : int -> affine_array
val p2_affine_array_set_p2_points : affine_array -> jacobian array -> int -> int
val from_affine : jacobian -> affine -> int
val to_affine : affine -> jacobian -> int
val double : jacobian -> jacobian -> int
val dadd : jacobian -> jacobian -> jacobian -> int
val is_zero : jacobian -> bool
val in_g2 : jacobian -> bool
val equal : jacobian -> jacobian -> bool
val cneg : jacobian -> bool -> int
val mult : jacobian -> jacobian -> Stdlib.Bytes.t -> Unsigned.Size_t.t -> int
val deserialize : affine -> Stdlib.Bytes.t -> int
val serialize : Stdlib.Bytes.t -> jacobian -> int
val compress : Stdlib.Bytes.t -> jacobian -> int
val uncompress : affine -> Stdlib.Bytes.t -> int
val hash_to_curve : jacobian -> Stdlib.Bytes.t -> Unsigned.Size_t.t -> Stdlib.Bytes.t -> Unsigned.Size_t.t -> Stdlib.Bytes.t -> Unsigned.Size_t.t -> int
val memcpy : jacobian -> jacobian -> int
val set_affine_coordinates : affine -> Fq2.t -> Fq2.t -> int
val fft_inplace : jacobian array -> Fr.Stubs.fr array -> int -> int
val pippenger : jacobian -> jacobian array -> Fr.t array -> Unsigned.Size_t.t -> Unsigned.Size_t.t -> int
val continuous_array_get : jacobian -> affine_array -> int -> int
val pippenger_with_affine_array : jacobian -> affine_array -> Fr.t array -> Unsigned.Size_t.t -> Unsigned.Size_t.t -> int
val mul_map_inplace : jacobian array -> Fr.Stubs.fr -> int -> int
OCaml

Innovation. Community. Security.