package bls12-381-unix

  1. Overview
  2. Docs
module Stubs : sig ... end
module Fq12 : sig ... end
include module type of struct include Fq12 end
exception Not_in_field of 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 : Bytes.t -> Stubs.fp12 option
val random : ?state:Random.State.t -> unit -> Stubs.fp12
val of_bytes_exn : 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.