diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2025-07-30 09:01:58 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2025-07-30 09:01:58 +0200 |
| commit | 395fa4a06d5c4ac90f65838137728ed569bc4f90 (patch) | |
| tree | d30e11af226a2d6db499099fe238b1fe58f63334 /lib/pairing.mli | |
| parent | c2f1680b6718a01c128fbb83ba3c50b70c3c5d7c (diff) | |
Refactor Curve Into Functor
Curves can now be generically instantiated with a functor, depending
on its parameterization (underlying field, Weirstrass `b` value,
generator point and order).
This makes things very nice! We also now define `E12` explicitely,
with a test that `twist E2.g = E12.g`.
Diffstat (limited to 'lib/pairing.mli')
| -rw-r--r-- | lib/pairing.mli | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pairing.mli b/lib/pairing.mli index fc66fcb..8d27b02 100644 --- a/lib/pairing.mli +++ b/lib/pairing.mli @@ -1,5 +1,5 @@ -module G1 : Curve.S with type t = Curves.E.t and type F.t = Fields.Fp.t -module G2 : Curve.S with type t = Curves.E2.t and type F.t = Fields.Fp2.t +module G1 : Curve.S with type t = Curves.E.t and type f = Fields.Fp.t +module G2 : Curve.S with type t = Curves.E2.t and type f = Fields.Fp2.t module Gt : sig type t |
