package bls12-381-unix

  1. Overview
  2. Docs
exception Not_in_field of Stdlib.Bytes.t
type t = Stubs.fp12
val order : Z.t
val size_in_bytes : int
val to_bytes : Stubs.fp12 -> bytes
val of_bytes_opt : Stdlib.Bytes.t -> Stubs.fp12 option
val random : ?state:Stdlib.Random.State.t -> unit -> Stubs.fp12
val of_bytes_exn : Stdlib.Bytes.t -> Stubs.fp12
val one : Stubs.fp12
val zero : Stubs.fp12
val eq : Stubs.fp12 -> Stubs.fp12 -> bool
val is_zero : Stubs.fp12 -> bool
val is_one : Stubs.fp12 -> bool
val inverse_opt : Stubs.fp12 -> Stubs.fp12 option
val inverse_exn : Stubs.fp12 -> Stubs.fp12
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 -> Stubs.fp12
val of_string : string -> string -> string -> string -> string -> string -> string -> string -> string -> string -> string -> string -> Stubs.fp12
val two_z : Z.t
val pow : Stubs.fp12 -> Z.t -> Stubs.fp12
OCaml

Innovation. Community. Security.