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 equal_curve : curve -> curve -> Ppx_deriving_runtime.bool
val curve_to_yojson : curve -> Yojson.Safe.t
val bin_curve : curve Bin_prot.Type_class.t
val bin_read_curve : curve Bin_prot.Read.reader
val __bin_read_curve__ : (int -> curve) Bin_prot.Read.reader
val bin_reader_curve : curve Bin_prot.Type_class.reader
val bin_size_curve : curve Bin_prot.Size.sizer
val bin_write_curve : curve Bin_prot.Write.writer
val bin_writer_curve : curve Bin_prot.Type_class.writer
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 to_yojson : t -> Yojson.Safe.t
val bin_t : t Bin_prot.Type_class.t
val bin_read_t : t Bin_prot.Read.reader
val __bin_read_t__ : (int -> t) Bin_prot.Read.reader
val bin_reader_t : t Bin_prot.Type_class.reader
val bin_size_t : t Bin_prot.Size.sizer
val bin_write_t : t Bin_prot.Write.writer
val bin_writer_t : t Bin_prot.Type_class.writer
val grammar : t Asn.t