aboutsummaryrefslogtreecommitdiff
path: root/lib/fields.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fields.mli')
-rw-r--r--lib/fields.mli22
1 files changed, 1 insertions, 21 deletions
diff --git a/lib/fields.mli b/lib/fields.mli
index 546618a..18bc142 100644
--- a/lib/fields.mli
+++ b/lib/fields.mli
@@ -1,14 +1,6 @@
(** Finite fields used by the BLS12-381 curve and pairings *)
-module Fp : sig
- include Field.S
-
- val of_string : string -> t
- (** [of_string s] returns the field element represented by [s]. *)
-
- val to_string : t -> string
- (** [to_string a] returns the string representation of [a]. *)
-end
+module Fp : Field.S
(* The prime field over which the BLS12-381 curve is defined. *)
module Fp2 : sig
@@ -20,12 +12,6 @@ module Fp2 : sig
val of_fp : Fp.t -> t
(** [of_fp a] returns maps a field element to the extension field. *)
- val of_string : string -> t
- (** [of_string s] returns the field element represented by [s]. *)
-
- val to_string : t -> string
- (** [to_string a] returns the string representation of [a]. *)
-
val of_coeffs : coeffs -> t
(** [of_coeffs c] is the field element with polynomial coefficients [c]. *)
@@ -55,12 +41,6 @@ module Fp12 : sig
val of_fp : Fp.t -> t
(** [of_fp a] returns maps a field element to the extension field. *)
- val of_string : string -> t
- (** [of_string s] returns the field element represented by [s]. *)
-
- val to_string : t -> string
- (** [to_string a] returns the string representation of [a]. *)
-
val of_coeffs : coeffs -> t
(** [of_coeffs c] is the field element with polynomial coefficients [c]. *)