bls12-381-legacy

UNIX version of BLS12-381 primitives. Not implementating the virtual package bls12-381
Library bls12-381-legacy
val size_in_bytes : int

High level (OCaml) definitions/logic

val order : Z.t
val empty : unit -> bytes
val check_bytes : bytes -> bool Rustc_bls12_381_stubs.return
val is_zero : bytes -> bool Rustc_bls12_381_stubs.return
val is_one : bytes -> bool Rustc_bls12_381_stubs.return
val zero : unit -> bytes
val one : unit -> bytes
val random : unit -> bytes
val add : bytes -> bytes -> bytes
val mul : bytes -> bytes -> bytes
val unsafe_inverse : bytes -> bytes
val eq : bytes -> bytes -> bool Rustc_bls12_381_stubs.return
val negate : bytes -> bytes
val square : bytes -> bytes
val double : bytes -> bytes
val pow : bytes -> bytes -> bytes