diff options
author | 2018-01-10 18:12:14 -0500 | |
---|---|---|
committer | 2018-01-15 04:16:50 -0500 | |
commit | d50c368e0cf5c25520fdd9e57695b43640c77fe0 (patch) | |
tree | 786b6e1ef822a7b4cd42dd6f72ab8ad98d270e3b /src/Specific/solinas32_2e255m19_10limbs_donna/femul.v | |
parent | 36e2e828be55cb58f985208de0ef7085cedecdd2 (diff) |
Add x25519 donna versions with the new way of generating C code
Diffstat (limited to 'src/Specific/solinas32_2e255m19_10limbs_donna/femul.v')
-rw-r--r-- | src/Specific/solinas32_2e255m19_10limbs_donna/femul.v | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Specific/solinas32_2e255m19_10limbs_donna/femul.v b/src/Specific/solinas32_2e255m19_10limbs_donna/femul.v new file mode 100644 index 000000000..918b0e5a9 --- /dev/null +++ b/src/Specific/solinas32_2e255m19_10limbs_donna/femul.v @@ -0,0 +1,14 @@ +Require Import Crypto.Arithmetic.PrimeFieldTheorems. +Require Import Crypto.Specific.solinas32_2e255m19_10limbs_donna.Synthesis. + +(* TODO : change this to field once field isomorphism happens *) +Definition mul : + { 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 (). + Show Ltac Profile. +Time Defined. + +Print Assumptions mul. |