package bls12-381-unix

  1. Overview
  2. Docs
type fr
type scalar
val allocate_scalar : unit -> scalar
val allocate_fr : unit -> fr
val scalar_of_fr : scalar -> fr -> unit
val fr_of_scalar : fr -> scalar -> unit
val scalar_of_bytes_le : scalar -> Stdlib.Bytes.t -> unit
val scalar_to_bytes_le : Stdlib.Bytes.t -> scalar -> unit
val check_scalar : scalar -> bool
val add : fr -> fr -> fr -> unit
val eq : fr -> fr -> bool
val is_zero : fr -> bool
val is_one : fr -> bool
val sub : fr -> fr -> fr -> unit
val mul : fr -> fr -> fr -> unit
val sqr : fr -> fr -> unit
val eucl_inverse : fr -> fr -> unit
val memcpy : fr -> fr -> unit
val fft_inplace : fr array -> fr array -> int -> unit
val mul_map_inplace : fr array -> fr -> int -> unit
OCaml

Innovation. Community. Security.