package sm

  1. Overview
  2. Docs

Module U256Source

Sourcetype t
Sourceval zero : t
Sourceval one : t
Sourceval of_int : int -> t
Sourceval of_hex : string -> t
Sourceval to_hex : t -> string
Sourceval of_bytes_be : bytes -> t
Sourceval to_bytes_be : t -> bytes
Sourceval compare : t -> t -> int
Sourceval equal : t -> t -> bool
Sourceval is_zero : t -> bool
Sourceval get_bit : t -> int -> bool
Sourceval add_mod : t -> t -> t -> t
Sourceval sub_mod : t -> t -> t -> t
Sourceval mul_mod : t -> t -> t -> t
Sourceval square_mod : t -> t -> t
Sourceval pow_mod : t -> t -> t -> t
Sourceval sub_small : t -> int -> t
Sourceval add_raw : t -> t -> t * bool