aboutsummaryrefslogtreecommitdiff
path: root/lib/pairing.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pairing.mli')
-rw-r--r--lib/pairing.mli9
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/pairing.mli b/lib/pairing.mli
index a76343d..3d63df6 100644
--- a/lib/pairing.mli
+++ b/lib/pairing.mli
@@ -40,10 +40,9 @@ module Gt : sig
end
end
-val e' : G1.t -> G2.t -> Fields.Fp12.t
-(** [e p q] is the elliptic curve pairing of [p] and [q] without final
- exponentiation. This is useful when you only want to compare pairings,
- without actually mapping them to [Gt]. *)
-
val e : G1.t -> G2.t -> Gt.t
(** [e p q] is the elliptic curve pairing of [p] and [q]. *)
+
+val check : (G1.t * G2.t) list -> bool
+(** [check pairs] checks whether the product of the pairings is equal to
+ [Gt.id]. *)