key-parsers

Parsers for multiple key formats
Library key-parsers
Module Key_parsers . Asn1 . Ec . Field
type basis =
| GN
| TP of Z.t
| PP of Z.t * Z.t * Z.t
val compare_basis : basis -> basis -> Ppx_deriving_runtime.int
val equal_basis : basis -> basis -> Ppx_deriving_runtime.bool
val bin_size_basis : basis -> int
val bin_read_basis : Bin_prot.Common.buf -> pos_ref:Bin_prot.Common.pos_ref -> basis
val bin_write_basis : Bin_prot.Common.buf -> pos:int -> basis -> int
val bin_shape_basis : Bin_prot.Shape.t
val bin_reader_basis : basis Bin_prot.Type_class.reader0
val bin_writer_basis : basis Bin_prot.Type_class.writer0
val basis_to_yojson : basis -> Yojson.Safe.json
val basis_of_yojson : Yojson.Safe.json -> ( basis, string ) result
val basis_grammar : basis Asn.t
type characteristic_two_params = {
m : Z.t;
basis : basis;
}
val show_characteristic_two_params : characteristic_two_params -> Ppx_deriving_runtime.string
val bin_characteristic_two_params : characteristic_two_params Bin_prot.Type_class.t0
val bin_size_characteristic_two_params : characteristic_two_params -> int
val bin_read_characteristic_two_params : Bin_prot.Common.buf -> pos_ref:Bin_prot.Common.pos_ref -> characteristic_two_params
val bin_write_characteristic_two_params : Bin_prot.Common.buf -> pos:int -> characteristic_two_params -> int
val bin_shape_characteristic_two_params : Bin_prot.Shape.t
val bin_reader_characteristic_two_params : characteristic_two_params Bin_prot.Type_class.reader0
val bin_writer_characteristic_two_params : characteristic_two_params Bin_prot.Type_class.writer0
val characteristic_two_params_to_yojson : characteristic_two_params -> Yojson.Safe.json
val characteristic_two_params_of_yojson : Yojson.Safe.json -> ( characteristic_two_params, string ) result
val ctwo_params_grammar : characteristic_two_params Asn.t
type t =
| Prime of Z.t
| C_two of characteristic_two_params
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