package key-parsers

  1. Overview
  2. Docs

Module Ec.Specified_domainSource

Sourcetype field_element = Cstruct.t
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
Sourceval bin_size_field_element : field_element -> int
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
Sourceval 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
Sourceval 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
Sourceval bin_shape_field_element : Bin_prot.Shape.t
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
Sourceval bin_reader_field_element : field_element Bin_prot.Type_class.reader0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
Sourceval bin_writer_field_element : field_element Bin_prot.Type_class.writer0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
Sourceval field_element_to_yojson : field_element -> Yojson.Safe.json
  • deprecated Yojson serializers will be removed in key-parsers 1.0.0
Sourceval field_element_of_yojson : Yojson.Safe.json -> (field_element, string) result
  • deprecated Yojson serializers will be removed in key-parsers 1.0.0
Sourceval field_element_grammar : field_element Asn.t
Sourcetype curve = {
  1. a : field_element;
  2. b : field_element;
  3. seed : Cstruct.t option;
}
Sourceval compare_curve : curve -> curve -> Ppx_deriving_runtime.int
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
Sourceval bin_size_curve : curve -> int
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
Sourceval 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
Sourceval bin_write_curve : Bin_prot.Common.buf -> pos:int -> curve -> int
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
Sourceval bin_shape_curve : Bin_prot.Shape.t
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
Sourceval curve_to_yojson : curve -> Yojson.Safe.json
  • deprecated Yojson serializers will be removed in key-parsers 1.0.0
Sourceval curve_of_yojson : Yojson.Safe.json -> (curve, string) result
  • deprecated Yojson serializers will be removed in key-parsers 1.0.0
Sourceval curve_grammar : curve Asn.t
Sourcetype t = {
  1. field : Field.t;
  2. curve : curve;
  3. base : point;
  4. order : Z.t;
  5. cofactor : Z.t option;
}
Sourceval compare : t -> t -> Ppx_deriving_runtime.int
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
Sourceval bin_size_t : t -> int
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
Sourceval 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
Sourceval bin_write_t : Bin_prot.Common.buf -> pos:int -> t -> int
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
Sourceval bin_shape_t : Bin_prot.Shape.t
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
  • deprecated Bin_prot serializers will be removed in key-parsers 1.0.0
Sourceval to_yojson : t -> Yojson.Safe.json
  • deprecated Yojson serializers will be removed in key-parsers 1.0.0
Sourceval of_yojson : Yojson.Safe.json -> (t, string) result
  • deprecated Yojson serializers will be removed in key-parsers 1.0.0
Sourceval grammar : t Asn.t