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 bin_field_element : field_element Bin_prot.Type_class.t0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_size_field_element : field_element -> int
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_read_field_element : Bin_prot.Common.buf -> pos_ref:Bin_prot.Common.pos_ref -> field_element
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_write_field_element : Bin_prot.Common.buf -> pos:int -> field_element -> int
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_shape_field_element : Bin_prot.Shape.t
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_reader_field_element : field_element Bin_prot.Type_class.reader0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_writer_field_element : field_element Bin_prot.Type_class.writer0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val field_element_to_yojson : field_element -> Yojson.Safe.json
  • deprecated Yojson serializers will be removed in key-parsers 1.0.0
val field_element_of_yojson : Yojson.Safe.json -> (field_element, string) Pervasives.result
  • deprecated Yojson serializers will be removed in key-parsers 1.0.0
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 bin_curve : curve Bin_prot.Type_class.t0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_size_curve : curve -> int
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_read_curve : Bin_prot.Common.buf -> pos_ref:Bin_prot.Common.pos_ref -> curve
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_write_curve : Bin_prot.Common.buf -> pos:int -> curve -> int
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_shape_curve : Bin_prot.Shape.t
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_reader_curve : curve Bin_prot.Type_class.reader0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_writer_curve : curve Bin_prot.Type_class.writer0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val curve_to_yojson : curve -> Yojson.Safe.json
  • deprecated Yojson serializers will be removed in key-parsers 1.0.0
val curve_of_yojson : Yojson.Safe.json -> (curve, string) Pervasives.result
  • deprecated Yojson serializers will be removed in key-parsers 1.0.0
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 bin_t : t Bin_prot.Type_class.t0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_size_t : t -> int
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_read_t : Bin_prot.Common.buf -> pos_ref:Bin_prot.Common.pos_ref -> t
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_write_t : Bin_prot.Common.buf -> pos:int -> t -> int
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_shape_t : Bin_prot.Shape.t
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_reader_t : t Bin_prot.Type_class.reader0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val bin_writer_t : t Bin_prot.Type_class.writer0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
val to_yojson : t -> Yojson.Safe.json
  • deprecated Yojson serializers will be removed in key-parsers 1.0.0
val of_yojson : Yojson.Safe.json -> (t, string) Pervasives.result
  • deprecated Yojson serializers will be removed in key-parsers 1.0.0
val grammar : t Asn.t
OCaml

Innovation. Community. Security.