package secp256k1-internal

  1. Overview
  2. Docs
type t
val size : int
val of_cstruct : Cstruct.t -> t option
val of_cstruct_exn : Cstruct.t -> t
val to_cstruct : t -> Cstruct.t
val of_fields : ?x:Field.Storage.t -> ?y:Field.Storage.t -> unit -> t
val cmov : t -> t -> bool -> unit

If flag is true, set *r equal to *a; otherwise leave it. Constant-time.

OCaml

Innovation. Community. Security.