diff options
author | 2017-11-02 04:37:37 -0400 | |
---|---|---|
committer | 2017-11-02 04:37:37 -0400 | |
commit | 631e3c7dca28f754f997f9d079d6900d76b8430e (patch) | |
tree | a587aae695cb8e27cbe63f10928c12ccf9c56799 /src/Specific/solinas64_2e448m2e224m1/feadd.v | |
parent | c1a11d3b06cd984099e00a298b087f3a67855474 (diff) |
python3 generate_parameters.py primes.txt; (cd src/Specific/CurveParameters/; ./remake_curves.sh -f)
Diffstat (limited to 'src/Specific/solinas64_2e448m2e224m1/feadd.v')
-rw-r--r-- | src/Specific/solinas64_2e448m2e224m1/feadd.v | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Specific/solinas64_2e448m2e224m1/feadd.v b/src/Specific/solinas64_2e448m2e224m1/feadd.v new file mode 100644 index 000000000..14601d11c --- /dev/null +++ b/src/Specific/solinas64_2e448m2e224m1/feadd.v @@ -0,0 +1,14 @@ +Require Import Crypto.Arithmetic.PrimeFieldTheorems. +Require Import Crypto.Specific.solinas64_2e448m2e224m1.Synthesis. + +(* TODO : change this to field once field isomorphism happens *) +Definition add : + { add : feBW_tight -> feBW_tight -> feBW_loose + | forall a b, phiBW_loose (add a b) = F.add (phiBW_tight a) (phiBW_tight b) }. +Proof. + Set Ltac Profiling. + Time synthesize_add (). + Show Ltac Profile. +Time Defined. + +Print Assumptions add. |