package key-parsers

  1. Overview
  2. Docs
type field_element = Cstruct.t
val equal_field_element : field_element -> field_element -> Ppx_deriving_runtime.bool
val compare_field_element : field_element -> field_element -> Ppx_deriving_runtime.int
val pp_field_element : Ppx_deriving_runtime.Format.formatter -> field_element -> Ppx_deriving_runtime.unit
val show_field_element : field_element -> Ppx_deriving_runtime.string
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 equal_curve : curve -> curve -> Ppx_deriving_runtime.bool
val pp_curve : Ppx_deriving_runtime.Format.formatter -> curve -> Ppx_deriving_runtime.unit
val show_curve : curve -> Ppx_deriving_runtime.string
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 equal : t -> t -> Ppx_deriving_runtime.bool
val pp : Ppx_deriving_runtime.Format.formatter -> t -> Ppx_deriving_runtime.unit
val show : t -> Ppx_deriving_runtime.string
val grammar : t Asn.t
OCaml

Innovation. Community. Security.