diff options
author | Jason Gross <jgross@mit.edu> | 2017-10-21 23:43:59 -0400 |
---|---|---|
committer | Jason Gross <jasongross9@gmail.com> | 2017-10-22 00:20:52 -0400 |
commit | 102904674d12d1791f55a55cb66a334e5c21715a (patch) | |
tree | fec67713e46239561cd6386b15508c393ef5aa33 /src/Specific/solinas64_2e221m3/femul.v | |
parent | 6c779ae1c2a2f4c798606ce3f7718768387f47a6 (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/solinas64_2e221m3/femul.v')
-rw-r--r-- | src/Specific/solinas64_2e221m3/femul.v | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Specific/solinas64_2e221m3/femul.v b/src/Specific/solinas64_2e221m3/femul.v index e832b8bde..aa8fca1d0 100644 --- a/src/Specific/solinas64_2e221m3/femul.v +++ b/src/Specific/solinas64_2e221m3/femul.v @@ -3,8 +3,8 @@ Require Import Crypto.Specific.solinas64_2e221m3.Synthesis. (* TODO : change this to field once field isomorphism happens *) Definition mul : - { mul : feBW -> feBW -> feBW - | forall a b, phiBW (mul a b) = F.mul (phiBW a) (phiBW b) }. + { mul : feBW_loose -> feBW_loose -> feBW_tight + | forall a b, phiBW_tight (mul a b) = F.mul (phiBW_loose a) (phiBW_loose b) }. Proof. Set Ltac Profiling. Time synthesize_mul (). |