package bls12-381-gen

  1. Overview
  2. Docs
val order : Z.t
val size_in_bytes : int
val check_bytes : Bytes.t -> bool
val is_zero : Bytes.t -> bool
val is_one : Bytes.t -> bool
val random : unit -> Bytes.t
val zero : unit -> Bytes.t
val one : unit -> Bytes.t
val add : Bytes.t -> Bytes.t -> Bytes.t
val mul : Bytes.t -> Bytes.t -> Bytes.t
val unsafe_inverse : Bytes.t -> Bytes.t
val eq : Bytes.t -> Bytes.t -> bool
val negate : Bytes.t -> Bytes.t
val square : Bytes.t -> Bytes.t
val double : Bytes.t -> Bytes.t
val pow : Bytes.t -> Bytes.t -> Bytes.t