aboutsummaryrefslogtreecommitdiff
path: root/lib/curves.mli
blob: 72b5c2245366e32db97d67545e3255ae8374a3fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
(** BLS12-381 curves used for pairings *)

module E : Curve.S with type F.t = Fields.Fp.t
(* The BLS12-381 curve over [Fields.Fp]. *)

module E2 : Curve.S with type F.t = Fields.Fp2.t
(* The BLS12-381 curve over [Fields.Fp2]. *)

module E12 : Curve.S with type F.t = Fields.Fp12.t
(* The BLS12-381 curve over [Fields.Fp12]. *)

val twist : E2.t -> E12.t
(* [twist a] is the twisted point of [E2] in [E12] *)