aboutsummaryrefslogtreecommitdiff
path: root/src/Specific/montgomery32_2e158m15
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-10-21 23:43:59 -0400
committerGravatar Jason Gross <jasongross9@gmail.com>2017-10-22 00:20:52 -0400
commit102904674d12d1791f55a55cb66a334e5c21715a (patch)
treefec67713e46239561cd6386b15508c393ef5aa33 /src/Specific/montgomery32_2e158m15
parent6c779ae1c2a2f4c798606ce3f7718768387f47a6 (diff)
Add tight and loose bounds, no carry in add, sub
Following Andres' suggestions to allow making ladderstep from other synthesis things. It went though mostly without a hitch, though there were a number of boilerplate changes needed.
Diffstat (limited to 'src/Specific/montgomery32_2e158m15')
-rw-r--r--src/Specific/montgomery32_2e158m15/CurveParameters.v5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Specific/montgomery32_2e158m15/CurveParameters.v b/src/Specific/montgomery32_2e158m15/CurveParameters.v
index e372b0899..1df08ae58 100644
--- a/src/Specific/montgomery32_2e158m15/CurveParameters.v
+++ b/src/Specific/montgomery32_2e158m15/CurveParameters.v
@@ -18,7 +18,7 @@ Definition curve : CurveParameters :=
a24 := None;
coef_div_modulus := None;
- goldilocks := Some false;
+ goldilocks := None;
montgomery := true;
freeze := Some false;
ladderstep := false;
@@ -27,7 +27,8 @@ Definition curve : CurveParameters :=
square_code := None;
- upper_bound_of_exponent := None;
+ upper_bound_of_exponent_loose := None;
+ upper_bound_of_exponent_tight := None;
allowable_bit_widths := None;
freeze_extra_allowable_bit_widths := None;
modinv_fuel := None