aboutsummaryrefslogtreecommitdiff
path: root/src/Specific/X25519/C32/femul.v
blob: 81bf1f25547f17d3f16a70cfbe9142fbeef4d18e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Crypto.Specific.X25519.C32.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) }.
Proof.
  Set Ltac Profiling.
  Time synthesize_mul ().
  Show Ltac Profile.
Time Defined.