aboutsummaryrefslogtreecommitdiff
path: root/lib/curves.ml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/curves.ml')
-rw-r--r--lib/curves.ml3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/curves.ml b/lib/curves.ml
index 1182352..440a66d 100644
--- a/lib/curves.ml
+++ b/lib/curves.ml
@@ -1,6 +1,7 @@
module E = Curve.Make (struct
module F = Fields.Fp
+ let a = F.zero
let b = F.of_string "4"
let g =
@@ -19,6 +20,7 @@ end)
module E2 = Curve.Make (struct
module F = Fields.Fp2
+ let a = F.zero
let b = F.of_string "(4,4)"
let g =
@@ -46,6 +48,7 @@ end)
module E12 = Curve.Make (struct
module F = Fields.Fp12
+ let a = F.zero
let b = F.of_f @@ Fields.Fp.of_string "4"
let g =