package octez-libs

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Curve.ScalarSource

Sourceexception Not_in_field of Bytes.t
Sourceval order : Z.t
Sourceval size_in_bytes : int
Sourceval check_bytes : Bytes.t -> bool
Sourceval copy : t -> t
Sourceval zero : t
Sourceval one : t
Sourceval is_zero : t -> bool
Sourceval is_one : t -> bool
Sourceval random : ?state:Random.State.t -> unit -> t
Sourceval non_null_random : ?state:Random.State.t -> unit -> t
Sourceval add : t -> t -> t
Sourceval (+) : t -> t -> t
Sourceval sub : t -> t -> t
Sourceval mul : t -> t -> t
Sourceval (*) : t -> t -> t
Sourceval eq : t -> t -> bool
Sourceval (=) : t -> t -> bool
Sourceval negate : t -> t
Sourceval (-) : t -> t
Sourceval inverse_exn : t -> t
Sourceval inverse_opt : t -> t option
Sourceval div_exn : t -> t -> t
Sourceval div_opt : t -> t -> t option
Sourceval (/) : t -> t -> t
Sourceval square : t -> t
Sourceval double : t -> t
Sourceval pow : t -> Z.t -> t
Sourceval (**) : t -> Z.t -> t
Sourceval of_bytes_exn : Bytes.t -> t
Sourceval of_bytes_opt : Bytes.t -> t option
Sourceval to_bytes : t -> Bytes.t
Sourceval factor_power_of_two : int * Z.t
Sourceval of_string : string -> t
Sourceval to_string : t -> string
Sourceval of_z : Z.t -> t
Sourceval to_z : t -> Z.t
Sourceval legendre_symbol : t -> Z.t
Sourceval is_quadratic_residue : t -> bool
Sourceval sqrt_opt : t -> t option
Sourceval of_int : int -> t
OCaml

Innovation. Community. Security.