package key-parsers

  1. Overview
  2. Docs
type field_element = Cstruct.t
val field_element_grammar : field_element Asn.t
type curve = {
  1. a : field_element;
  2. b : field_element;
  3. seed : Cstruct.t option;
}
val compare_curve : curve -> curve -> Ppx_deriving_runtime.int
val curve_to_yojson : curve -> Yojson.Safe.t
val curve_of_yojson : Yojson.Safe.t -> curve Ppx_deriving_yojson_runtime.error_or
val curve_grammar : curve Asn.t
type t = {
  1. field : Field.t;
  2. curve : curve;
  3. base : point;
  4. order : Z.t;
  5. cofactor : Z.t option;
}
val compare : t -> t -> Ppx_deriving_runtime.int
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val to_yojson : t -> Yojson.Safe.t
val of_yojson : Yojson.Safe.t -> t Ppx_deriving_yojson_runtime.error_or
val grammar : t Asn.t
OCaml

Innovation. Community. Security.