aboutsummaryrefslogtreecommitdiff
path: root/lib/fields.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/fields.mli')
-rw-r--r--lib/fields.mli8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/fields.mli b/lib/fields.mli
index 4ecad01..546618a 100644
--- a/lib/fields.mli
+++ b/lib/fields.mli
@@ -1,4 +1,4 @@
-(** Finite fields used by the BN254 curve and pairings *)
+(** Finite fields used by the BLS12-381 curve and pairings *)
module Fp : sig
include Field.S
@@ -9,7 +9,7 @@ module Fp : sig
val to_string : t -> string
(** [to_string a] returns the string representation of [a]. *)
end
-(* The prime field over which the BN254 curve is defined. *)
+(* The prime field over which the BLS12-381 curve is defined. *)
module Fp2 : sig
include Field.S
@@ -32,7 +32,7 @@ module Fp2 : sig
val to_coeffs : t -> coeffs
(** [to_coeffs a] are the polynomial coefficients of [a]. *)
end
-(* The polynomial field extension of degree 2 for BN254 pairings. *)
+(* The polynomial field extension of degree 2 for BLS12-381 pairings. *)
module Fp12 : sig
include Field.S
@@ -67,4 +67,4 @@ module Fp12 : sig
val to_coeffs : t -> coeffs
(** [to_coeffs a] are the polynomial coefficients of [a]. *)
end
-(* The polynomial field extension of degree 12 for BN254 pairings. *)
+(* The polynomial field extension of degree 12 for BLS12-381 pairings. *)