aboutsummaryrefslogtreecommitdiff
path: root/src/Specific/montgomery32_2e480m2e240m1_15limbs/femul.v
blob: 49cc90f7f6bd25435692f224f2792107471bd4f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Require Import Crypto.Arithmetic.PrimeFieldTheorems.
Require Import Crypto.Specific.montgomery32_2e480m2e240m1_15limbs.Synthesis.

(* TODO : change this to field once field isomorphism happens *)
Definition mul :
  { mul : feBW_small -> feBW_small -> feBW_small
  | forall a b, phiM_small (mul a b) = F.mul (phiM_small a) (phiM_small b) }.
Proof.
  Set Ltac Profiling.
  Time synthesize_mul ().
  Show Ltac Profile.
Time Defined.

Print Assumptions mul.