key-parsers

Parsers for multiple key formats
Library key-parsers
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 show_field_element : field_element -> Ppx_deriving_runtime.string
val bin_field_element : field_element Bin_prot.Type_class.t0
val bin_size_field_element : field_element -> int
val bin_read_field_element : Bin_prot.Common.buf -> pos_ref:Bin_prot.Common.pos_ref -> field_element
val bin_write_field_element : Bin_prot.Common.buf -> pos:int -> field_element -> int
val bin_shape_field_element : Bin_prot.Shape.t
val bin_reader_field_element : field_element Bin_prot.Type_class.reader0
val bin_writer_field_element : field_element Bin_prot.Type_class.writer0
val field_element_to_yojson : field_element -> Yojson.Safe.json
val field_element_of_yojson : Yojson.Safe.json -> ( field_element, string ) result
val field_element_grammar : field_element Asn.t
type curve = {
a : field_element;
b : field_element;
seed : Cstruct.t option;
}
val compare_curve : curve -> curve -> Ppx_deriving_runtime.int
val equal_curve : curve -> curve -> Ppx_deriving_runtime.bool
val bin_size_curve : curve -> int
val bin_read_curve : Bin_prot.Common.buf -> pos_ref:Bin_prot.Common.pos_ref -> curve
val bin_write_curve : Bin_prot.Common.buf -> pos:int -> curve -> int
val bin_shape_curve : Bin_prot.Shape.t
val bin_reader_curve : curve Bin_prot.Type_class.reader0
val bin_writer_curve : curve Bin_prot.Type_class.writer0
val curve_to_yojson : curve -> Yojson.Safe.json
val curve_of_yojson : Yojson.Safe.json -> ( curve, string ) result
val curve_grammar : curve Asn.t
type t = {
field : Field.t;
curve : curve;
base : point;
order : Z.t;
cofactor : Z.t option;
}
val compare : t -> t -> Ppx_deriving_runtime.int
val equal : t -> t -> Ppx_deriving_runtime.bool
val bin_size_t : t -> int
val bin_read_t : Bin_prot.Common.buf -> pos_ref:Bin_prot.Common.pos_ref -> t
val bin_write_t : Bin_prot.Common.buf -> pos:int -> t -> int
val bin_shape_t : Bin_prot.Shape.t
val bin_reader_t : t Bin_prot.Type_class.reader0
val bin_writer_t : t Bin_prot.Type_class.writer0
val to_yojson : t -> Yojson.Safe.json
val of_yojson : Yojson.Safe.json -> ( t, string ) result
val grammar : t Asn.t