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 const : ?d7:int64 -> ?d6:int64 -> ?d5:int64 -> ?d4:int64 -> ?d3:int64 -> ?d2:int64 -> ?d1:int64 -> ?d0:int64 -> 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.