aboutsummaryrefslogtreecommitdiff
path: root/src/Specific/NISTP256/AMD128/feopp.v
diff options
context:
space:
mode:
Diffstat (limited to 'src/Specific/NISTP256/AMD128/feopp.v')
-rw-r--r--src/Specific/NISTP256/AMD128/feopp.v14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/Specific/NISTP256/AMD128/feopp.v b/src/Specific/NISTP256/AMD128/feopp.v
new file mode 100644
index 000000000..682541e8c
--- /dev/null
+++ b/src/Specific/NISTP256/AMD128/feopp.v
@@ -0,0 +1,14 @@
+Require Import Crypto.Arithmetic.PrimeFieldTheorems.
+Require Import Crypto.Specific.NISTP256.AMD128.Synthesis.
+
+(* TODO : change this to field once field isomorphism happens *)
+Definition opp :
+ { opp : feBW_small -> feBW_small
+ | forall a, phiM_small (opp a) = F.opp (phiM_small a) }.
+Proof.
+ Set Ltac Profiling.
+ Time synthesize_opp ().
+ Show Ltac Profile.
+Time Defined.
+
+Print Assumptions opp.