diff options
| author | Nicholas Rodrigues Lordello <[email protected]> | 2025-08-01 18:02:12 +0200 |
|---|---|---|
| committer | Nicholas Rodrigues Lordello <[email protected]> | 2025-08-01 18:02:12 +0200 |
| commit | 51e1e445215c14e3ce90ab12906f07ffb2b09aaf (patch) | |
| tree | 97bac16ee731e4f531dc778cd7bbf650939ad891 /lib/fields.ml | |
| parent | 4ce648df90034d7dade55cadd5bd6251619cf922 (diff) | |
Refactor Project
We now put all field, curve, and pairing instantiations under
`bls12_381` module. We no longer have an `E12` curve - since we don't
use it.
Diffstat (limited to 'lib/fields.ml')
| -rw-r--r-- | lib/fields.ml | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/lib/fields.ml b/lib/fields.ml deleted file mode 100644 index 8bb4c5e..0000000 --- a/lib/fields.ml +++ /dev/null @@ -1,32 +0,0 @@ -module Fp = Field.Make (struct - let p = - Z.of_string - "4002409555221667393417789825735904156556882819939007885332058136124031650490837864442687629129015664037894272559787" -end) - -module Fp2 = Field.MakeExtension (struct - module F = Fp - - let q = Fp.[| one; zero |] -end) - -module Fp12 = Field.MakeExtension (struct - module F = Fp - - let q = - Fp. - [| - of_string "2"; - zero; - zero; - zero; - zero; - zero; - of_string "-2"; - zero; - zero; - zero; - zero; - zero; - |] -end) |
