diff options
Diffstat (limited to 'src/Specific/montgomery32_2e444m17_14limbs')
20 files changed, 0 insertions, 346 deletions
diff --git a/src/Specific/montgomery32_2e444m17_14limbs/CurveParameters.v b/src/Specific/montgomery32_2e444m17_14limbs/CurveParameters.v deleted file mode 100644 index 9911b3666..000000000 --- a/src/Specific/montgomery32_2e444m17_14limbs/CurveParameters.v +++ /dev/null @@ -1,39 +0,0 @@ -Require Import Crypto.Specific.Framework.RawCurveParameters. -Require Import Crypto.Util.LetIn. - -(*** -Modulus : 2^444 - 17 -Base: 32 -***) - -Definition curve : CurveParameters := - {| - sz := 14%nat; - base := 32; - bitwidth := 32; - s := 2^444; - c := [(1, 17)]; - carry_chains := None; - - a24 := None; - coef_div_modulus := None; - - goldilocks := None; - karatsuba := None; - montgomery := true; - freeze := Some false; - ladderstep := false; - - mul_code := None; - - square_code := None; - - upper_bound_of_exponent_loose := None; - upper_bound_of_exponent_tight := None; - allowable_bit_widths := None; - freeze_extra_allowable_bit_widths := None; - modinv_fuel := None - |}. - -Ltac extra_prove_mul_eq _ := idtac. -Ltac extra_prove_square_eq _ := idtac. diff --git a/src/Specific/montgomery32_2e444m17_14limbs/Synthesis.v b/src/Specific/montgomery32_2e444m17_14limbs/Synthesis.v deleted file mode 100644 index 2e898efa0..000000000 --- a/src/Specific/montgomery32_2e444m17_14limbs/Synthesis.v +++ /dev/null @@ -1,9 +0,0 @@ -Require Import Crypto.Specific.Framework.SynthesisFramework. -Require Import Crypto.Specific.montgomery32_2e444m17_14limbs.CurveParameters. - -Module P <: PrePackage. - Definition package : Tag.Context. - Proof. make_Synthesis_package curve extra_prove_mul_eq extra_prove_square_eq. Defined. -End P. - -Module Export S := PackageSynthesis P. diff --git a/src/Specific/montgomery32_2e444m17_14limbs/compiler.sh b/src/Specific/montgomery32_2e444m17_14limbs/compiler.sh deleted file mode 100755 index 0482ba705..000000000 --- a/src/Specific/montgomery32_2e444m17_14limbs/compiler.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -set -eu - -clang -fbracket-depth=999999 -march=native -mbmi2 -mtune=native -std=gnu11 -O3 -flto -fuse-ld=lld -fomit-frame-pointer -fwrapv -Wno-attributes -fno-strict-aliasing -Da24_hex='0x3039' -Da24_val='12345' -Da_minus_two_over_four_array='{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x39}' -Dbitwidth='32' -Dlimb_weight_gaps_array='{32,32,32,32,32,32,32,32,32,32,32,32,32,32}' -Dmodulus_array='{0x0f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xef}' -Dmodulus_bytes_val='56' -Dmodulus_limbs='14' -Dq_mpz='(1_mpz<<444) - 17' "$@" diff --git a/src/Specific/montgomery32_2e444m17_14limbs/compilerxx.sh b/src/Specific/montgomery32_2e444m17_14limbs/compilerxx.sh deleted file mode 100755 index 005386194..000000000 --- a/src/Specific/montgomery32_2e444m17_14limbs/compilerxx.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -set -eu - -clang++ -fbracket-depth=999999 -march=native -mbmi2 -mtune=native -std=gnu++11 -O3 -flto -fuse-ld=lld -fomit-frame-pointer -fwrapv -Wno-attributes -fno-strict-aliasing -Da24_hex='0x3039' -Da24_val='12345' -Da_minus_two_over_four_array='{0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x30,0x39}' -Dbitwidth='32' -Dlimb_weight_gaps_array='{32,32,32,32,32,32,32,32,32,32,32,32,32,32}' -Dmodulus_array='{0x0f,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xff,0xef}' -Dmodulus_bytes_val='56' -Dmodulus_limbs='14' -Dq_mpz='(1_mpz<<444) - 17' "$@" diff --git a/src/Specific/montgomery32_2e444m17_14limbs/feadd.c b/src/Specific/montgomery32_2e444m17_14limbs/feadd.c deleted file mode 100644 index 27173d59a..000000000 --- a/src/Specific/montgomery32_2e444m17_14limbs/feadd.c +++ /dev/null @@ -1,88 +0,0 @@ -static void feadd(uint32_t out[14], const uint32_t in1[14], const uint32_t in2[14]) { - { const uint32_t x28 = in1[13]; - { const uint32_t x29 = in1[12]; - { const uint32_t x27 = in1[11]; - { const uint32_t x25 = in1[10]; - { const uint32_t x23 = in1[9]; - { const uint32_t x21 = in1[8]; - { const uint32_t x19 = in1[7]; - { const uint32_t x17 = in1[6]; - { const uint32_t x15 = in1[5]; - { const uint32_t x13 = in1[4]; - { const uint32_t x11 = in1[3]; - { const uint32_t x9 = in1[2]; - { const uint32_t x7 = in1[1]; - { const uint32_t x5 = in1[0]; - { const uint32_t x54 = in2[13]; - { const uint32_t x55 = in2[12]; - { const uint32_t x53 = in2[11]; - { const uint32_t x51 = in2[10]; - { const uint32_t x49 = in2[9]; - { const uint32_t x47 = in2[8]; - { const uint32_t x45 = in2[7]; - { const uint32_t x43 = in2[6]; - { const uint32_t x41 = in2[5]; - { const uint32_t x39 = in2[4]; - { const uint32_t x37 = in2[3]; - { const uint32_t x35 = in2[2]; - { const uint32_t x33 = in2[1]; - { const uint32_t x31 = in2[0]; - { uint32_t x57; uint8_t x58 = _addcarryx_u32(0x0, x5, x31, &x57); - { uint32_t x60; uint8_t x61 = _addcarryx_u32(x58, x7, x33, &x60); - { uint32_t x63; uint8_t x64 = _addcarryx_u32(x61, x9, x35, &x63); - { uint32_t x66; uint8_t x67 = _addcarryx_u32(x64, x11, x37, &x66); - { uint32_t x69; uint8_t x70 = _addcarryx_u32(x67, x13, x39, &x69); - { uint32_t x72; uint8_t x73 = _addcarryx_u32(x70, x15, x41, &x72); - { uint32_t x75; uint8_t x76 = _addcarryx_u32(x73, x17, x43, &x75); - { uint32_t x78; uint8_t x79 = _addcarryx_u32(x76, x19, x45, &x78); - { uint32_t x81; uint8_t x82 = _addcarryx_u32(x79, x21, x47, &x81); - { uint32_t x84; uint8_t x85 = _addcarryx_u32(x82, x23, x49, &x84); - { uint32_t x87; uint8_t x88 = _addcarryx_u32(x85, x25, x51, &x87); - { uint32_t x90; uint8_t x91 = _addcarryx_u32(x88, x27, x53, &x90); - { uint32_t x93; uint8_t x94 = _addcarryx_u32(x91, x29, x55, &x93); - { uint32_t x96; uint8_t x97 = _addcarryx_u32(x94, x28, x54, &x96); - { uint32_t x99; uint8_t x100 = _subborrow_u32(0x0, x57, 0xffffffef, &x99); - { uint32_t x102; uint8_t x103 = _subborrow_u32(x100, x60, 0xffffffff, &x102); - { uint32_t x105; uint8_t x106 = _subborrow_u32(x103, x63, 0xffffffff, &x105); - { uint32_t x108; uint8_t x109 = _subborrow_u32(x106, x66, 0xffffffff, &x108); - { uint32_t x111; uint8_t x112 = _subborrow_u32(x109, x69, 0xffffffff, &x111); - { uint32_t x114; uint8_t x115 = _subborrow_u32(x112, x72, 0xffffffff, &x114); - { uint32_t x117; uint8_t x118 = _subborrow_u32(x115, x75, 0xffffffff, &x117); - { uint32_t x120; uint8_t x121 = _subborrow_u32(x118, x78, 0xffffffff, &x120); - { uint32_t x123; uint8_t x124 = _subborrow_u32(x121, x81, 0xffffffff, &x123); - { uint32_t x126; uint8_t x127 = _subborrow_u32(x124, x84, 0xffffffff, &x126); - { uint32_t x129; uint8_t x130 = _subborrow_u32(x127, x87, 0xffffffff, &x129); - { uint32_t x132; uint8_t x133 = _subborrow_u32(x130, x90, 0xffffffff, &x132); - { uint32_t x135; uint8_t x136 = _subborrow_u32(x133, x93, 0xffffffff, &x135); - { uint32_t x138; uint8_t x139 = _subborrow_u32(x136, x96, 0xfffffff, &x138); - { uint32_t _; uint8_t x142 = _subborrow_u32(x139, x97, 0x0, &_); - { uint32_t x143 = cmovznz32(x142, x138, x96); - { uint32_t x144 = cmovznz32(x142, x135, x93); - { uint32_t x145 = cmovznz32(x142, x132, x90); - { uint32_t x146 = cmovznz32(x142, x129, x87); - { uint32_t x147 = cmovznz32(x142, x126, x84); - { uint32_t x148 = cmovznz32(x142, x123, x81); - { uint32_t x149 = cmovznz32(x142, x120, x78); - { uint32_t x150 = cmovznz32(x142, x117, x75); - { uint32_t x151 = cmovznz32(x142, x114, x72); - { uint32_t x152 = cmovznz32(x142, x111, x69); - { uint32_t x153 = cmovznz32(x142, x108, x66); - { uint32_t x154 = cmovznz32(x142, x105, x63); - { uint32_t x155 = cmovznz32(x142, x102, x60); - { uint32_t x156 = cmovznz32(x142, x99, x57); - out[0] = x156; - out[1] = x155; - out[2] = x154; - out[3] = x153; - out[4] = x152; - out[5] = x151; - out[6] = x150; - out[7] = x149; - out[8] = x148; - out[9] = x147; - out[10] = x146; - out[11] = x145; - out[12] = x144; - out[13] = x143; - }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} -} diff --git a/src/Specific/montgomery32_2e444m17_14limbs/feadd.v b/src/Specific/montgomery32_2e444m17_14limbs/feadd.v deleted file mode 100644 index c617e1dcd..000000000 --- a/src/Specific/montgomery32_2e444m17_14limbs/feadd.v +++ /dev/null @@ -1,14 +0,0 @@ -Require Import Crypto.Arithmetic.PrimeFieldTheorems. -Require Import Crypto.Specific.montgomery32_2e444m17_14limbs.Synthesis. - -(* TODO : change this to field once field isomorphism happens *) -Definition add : - { add : feBW_small -> feBW_small -> feBW_small - | forall a b, phiM_small (add a b) = F.add (phiM_small a) (phiM_small b) }. -Proof. - Set Ltac Profiling. - Time synthesize_add (). - Show Ltac Profile. -Time Defined. - -Print Assumptions add. diff --git a/src/Specific/montgomery32_2e444m17_14limbs/feaddDisplay.log b/src/Specific/montgomery32_2e444m17_14limbs/feaddDisplay.log deleted file mode 100644 index 07d9c8b95..000000000 --- a/src/Specific/montgomery32_2e444m17_14limbs/feaddDisplay.log +++ /dev/null @@ -1,50 +0,0 @@ -λ x x0 : word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32, -Interp-η -(λ var : Syntax.base_type → Type, - λ '(x28, x29, x27, x25, x23, x21, x19, x17, x15, x13, x11, x9, x7, x5, (x54, x55, x53, x51, x49, x47, x45, x43, x41, x39, x37, x35, x33, x31))%core, - uint32_t x57, uint8_t x58 = addcarryx_u32(0x0, x5, x31); - uint32_t x60, uint8_t x61 = addcarryx_u32(x58, x7, x33); - uint32_t x63, uint8_t x64 = addcarryx_u32(x61, x9, x35); - uint32_t x66, uint8_t x67 = addcarryx_u32(x64, x11, x37); - uint32_t x69, uint8_t x70 = addcarryx_u32(x67, x13, x39); - uint32_t x72, uint8_t x73 = addcarryx_u32(x70, x15, x41); - uint32_t x75, uint8_t x76 = addcarryx_u32(x73, x17, x43); - uint32_t x78, uint8_t x79 = addcarryx_u32(x76, x19, x45); - uint32_t x81, uint8_t x82 = addcarryx_u32(x79, x21, x47); - uint32_t x84, uint8_t x85 = addcarryx_u32(x82, x23, x49); - uint32_t x87, uint8_t x88 = addcarryx_u32(x85, x25, x51); - uint32_t x90, uint8_t x91 = addcarryx_u32(x88, x27, x53); - uint32_t x93, uint8_t x94 = addcarryx_u32(x91, x29, x55); - uint32_t x96, uint8_t x97 = addcarryx_u32(x94, x28, x54); - uint32_t x99, uint8_t x100 = subborrow_u32(0x0, x57, 0xffffffef); - uint32_t x102, uint8_t x103 = subborrow_u32(x100, x60, 0xffffffff); - uint32_t x105, uint8_t x106 = subborrow_u32(x103, x63, 0xffffffff); - uint32_t x108, uint8_t x109 = subborrow_u32(x106, x66, 0xffffffff); - uint32_t x111, uint8_t x112 = subborrow_u32(x109, x69, 0xffffffff); - uint32_t x114, uint8_t x115 = subborrow_u32(x112, x72, 0xffffffff); - uint32_t x117, uint8_t x118 = subborrow_u32(x115, x75, 0xffffffff); - uint32_t x120, uint8_t x121 = subborrow_u32(x118, x78, 0xffffffff); - uint32_t x123, uint8_t x124 = subborrow_u32(x121, x81, 0xffffffff); - uint32_t x126, uint8_t x127 = subborrow_u32(x124, x84, 0xffffffff); - uint32_t x129, uint8_t x130 = subborrow_u32(x127, x87, 0xffffffff); - uint32_t x132, uint8_t x133 = subborrow_u32(x130, x90, 0xffffffff); - uint32_t x135, uint8_t x136 = subborrow_u32(x133, x93, 0xffffffff); - uint32_t x138, uint8_t x139 = subborrow_u32(x136, x96, 0xfffffff); - uint32_t _, uint8_t x142 = subborrow_u32(x139, x97, 0x0); - uint32_t x143 = cmovznz32(x142, x138, x96); - uint32_t x144 = cmovznz32(x142, x135, x93); - uint32_t x145 = cmovznz32(x142, x132, x90); - uint32_t x146 = cmovznz32(x142, x129, x87); - uint32_t x147 = cmovznz32(x142, x126, x84); - uint32_t x148 = cmovznz32(x142, x123, x81); - uint32_t x149 = cmovznz32(x142, x120, x78); - uint32_t x150 = cmovznz32(x142, x117, x75); - uint32_t x151 = cmovznz32(x142, x114, x72); - uint32_t x152 = cmovznz32(x142, x111, x69); - uint32_t x153 = cmovznz32(x142, x108, x66); - uint32_t x154 = cmovznz32(x142, x105, x63); - uint32_t x155 = cmovznz32(x142, x102, x60); - uint32_t x156 = cmovznz32(x142, x99, x57); - return (x143, x144, x145, x146, x147, x148, x149, x150, x151, x152, x153, x154, x155, x156)) -(x, x0)%core - : word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 → word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 → ReturnType (uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t * uint32_t) diff --git a/src/Specific/montgomery32_2e444m17_14limbs/feaddDisplay.v b/src/Specific/montgomery32_2e444m17_14limbs/feaddDisplay.v deleted file mode 100644 index c5ce0532e..000000000 --- a/src/Specific/montgomery32_2e444m17_14limbs/feaddDisplay.v +++ /dev/null @@ -1,4 +0,0 @@ -Require Import Crypto.Specific.montgomery32_2e444m17_14limbs.feadd. -Require Import Crypto.Specific.Framework.IntegrationTestDisplayCommon. - -Check display add. diff --git a/src/Specific/montgomery32_2e444m17_14limbs/femul.v b/src/Specific/montgomery32_2e444m17_14limbs/femul.v deleted file mode 100644 index 43f6e3801..000000000 --- a/src/Specific/montgomery32_2e444m17_14limbs/femul.v +++ /dev/null @@ -1,14 +0,0 @@ -Require Import Crypto.Arithmetic.PrimeFieldTheorems. -Require Import Crypto.Specific.montgomery32_2e444m17_14limbs.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. diff --git a/src/Specific/montgomery32_2e444m17_14limbs/femulDisplay.v b/src/Specific/montgomery32_2e444m17_14limbs/femulDisplay.v deleted file mode 100644 index e721f0531..000000000 --- a/src/Specific/montgomery32_2e444m17_14limbs/femulDisplay.v +++ /dev/null @@ -1,4 +0,0 @@ -Require Import Crypto.Specific.montgomery32_2e444m17_14limbs.femul. -Require Import Crypto.Specific.Framework.IntegrationTestDisplayCommon. - -Check display mul. diff --git a/src/Specific/montgomery32_2e444m17_14limbs/fenz.c b/src/Specific/montgomery32_2e444m17_14limbs/fenz.c deleted file mode 100644 index 42fc27af3..000000000 --- a/src/Specific/montgomery32_2e444m17_14limbs/fenz.c +++ /dev/null @@ -1,31 +0,0 @@ -static void fenz(ReturnType uint32_t out[1], const uint32_t in1[14]) { - { const uint32_t x25 = in1[13]; - { const uint32_t x26 = in1[12]; - { const uint32_t x24 = in1[11]; - { const uint32_t x22 = in1[10]; - { const uint32_t x20 = in1[9]; - { const uint32_t x18 = in1[8]; - { const uint32_t x16 = in1[7]; - { const uint32_t x14 = in1[6]; - { const uint32_t x12 = in1[5]; - { const uint32_t x10 = in1[4]; - { const uint32_t x8 = in1[3]; - { const uint32_t x6 = in1[2]; - { const uint32_t x4 = in1[1]; - { const uint32_t x2 = in1[0]; - { uint32_t x27 = (x26 | x25); - { uint32_t x28 = (x24 | x27); - { uint32_t x29 = (x22 | x28); - { uint32_t x30 = (x20 | x29); - { uint32_t x31 = (x18 | x30); - { uint32_t x32 = (x16 | x31); - { uint32_t x33 = (x14 | x32); - { uint32_t x34 = (x12 | x33); - { uint32_t x35 = (x10 | x34); - { uint32_t x36 = (x8 | x35); - { uint32_t x37 = (x6 | x36); - { uint32_t x38 = (x4 | x37); - { uint32_t x39 = (x2 | x38); - out[0] = x39; - }}}}}}}}}}}}}}}}}}}}}}}}}}} -} diff --git a/src/Specific/montgomery32_2e444m17_14limbs/fenz.v b/src/Specific/montgomery32_2e444m17_14limbs/fenz.v deleted file mode 100644 index 014d61f96..000000000 --- a/src/Specific/montgomery32_2e444m17_14limbs/fenz.v +++ /dev/null @@ -1,16 +0,0 @@ -Require Import Coq.ZArith.ZArith. -Require Import Crypto.Arithmetic.PrimeFieldTheorems. -Require Import Crypto.Specific.montgomery32_2e444m17_14limbs.Synthesis. -Local Open Scope Z_scope. - -(* TODO : change this to field once field isomorphism happens *) -Definition nonzero : - { nonzero : feBW_small -> BoundedWord.BoundedWord 1 adjusted_bitwidth bound1 - | forall a, (BoundedWord.BoundedWordToZ _ _ _ (nonzero a) =? 0) = (if Decidable.dec (phiM_small a = F.of_Z m 0) then true else false) }. -Proof. - Set Ltac Profiling. - Time synthesize_nonzero (). - Show Ltac Profile. -Time Defined. - -Print Assumptions nonzero. diff --git a/src/Specific/montgomery32_2e444m17_14limbs/fenzDisplay.log b/src/Specific/montgomery32_2e444m17_14limbs/fenzDisplay.log deleted file mode 100644 index 265fc8b8c..000000000 --- a/src/Specific/montgomery32_2e444m17_14limbs/fenzDisplay.log +++ /dev/null @@ -1,20 +0,0 @@ -λ x : word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32, -Interp-η -(λ var : Syntax.base_type → Type, - λ '(x25, x26, x24, x22, x20, x18, x16, x14, x12, x10, x8, x6, x4, x2)%core, - uint32_t x27 = (x26 | x25); - uint32_t x28 = (x24 | x27); - uint32_t x29 = (x22 | x28); - uint32_t x30 = (x20 | x29); - uint32_t x31 = (x18 | x30); - uint32_t x32 = (x16 | x31); - uint32_t x33 = (x14 | x32); - uint32_t x34 = (x12 | x33); - uint32_t x35 = (x10 | x34); - uint32_t x36 = (x8 | x35); - uint32_t x37 = (x6 | x36); - uint32_t x38 = (x4 | x37); - uint32_t x39 = (x2 | x38); - return x39) -x - : word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 * word32 → ReturnType uint32_t diff --git a/src/Specific/montgomery32_2e444m17_14limbs/fenzDisplay.v b/src/Specific/montgomery32_2e444m17_14limbs/fenzDisplay.v deleted file mode 100644 index 55b547264..000000000 --- a/src/Specific/montgomery32_2e444m17_14limbs/fenzDisplay.v +++ /dev/null @@ -1,4 +0,0 @@ -Require Import Crypto.Specific.montgomery32_2e444m17_14limbs.fenz. -Require Import Crypto.Specific.Framework.IntegrationTestDisplayCommon. - -Check display nonzero. diff --git a/src/Specific/montgomery32_2e444m17_14limbs/feopp.v b/src/Specific/montgomery32_2e444m17_14limbs/feopp.v deleted file mode 100644 index 85511f3c5..000000000 --- a/src/Specific/montgomery32_2e444m17_14limbs/feopp.v +++ /dev/null @@ -1,14 +0,0 @@ -Require Import Crypto.Arithmetic.PrimeFieldTheorems. -Require Import Crypto.Specific.montgomery32_2e444m17_14limbs.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. diff --git a/src/Specific/montgomery32_2e444m17_14limbs/feoppDisplay.v b/src/Specific/montgomery32_2e444m17_14limbs/feoppDisplay.v deleted file mode 100644 index 1012b495b..000000000 --- a/src/Specific/montgomery32_2e444m17_14limbs/feoppDisplay.v +++ /dev/null @@ -1,4 +0,0 @@ -Require Import Crypto.Specific.montgomery32_2e444m17_14limbs.feopp. -Require Import Crypto.Specific.Framework.IntegrationTestDisplayCommon. - -Check display opp. diff --git a/src/Specific/montgomery32_2e444m17_14limbs/fesquare.c b/src/Specific/montgomery32_2e444m17_14limbs/fesquare.c deleted file mode 100644 index e3345edfe..000000000 --- a/src/Specific/montgomery32_2e444m17_14limbs/fesquare.c +++ /dev/null @@ -1,5 +0,0 @@ -/* WARNING: This file was copied from Specific/CurveParameters/montgomery32/fesquare.c. - If you edit it here, changes will be erased the next time remake_curves.sh is run. */ -static void fesquare(uint32_t *out, const uint32_t *in) { - femul(out, in, in); -} diff --git a/src/Specific/montgomery32_2e444m17_14limbs/fesub.v b/src/Specific/montgomery32_2e444m17_14limbs/fesub.v deleted file mode 100644 index fd382b473..000000000 --- a/src/Specific/montgomery32_2e444m17_14limbs/fesub.v +++ /dev/null @@ -1,14 +0,0 @@ -Require Import Crypto.Arithmetic.PrimeFieldTheorems. -Require Import Crypto.Specific.montgomery32_2e444m17_14limbs.Synthesis. - -(* TODO : change this to field once field isomorphism happens *) -Definition sub : - { sub : feBW_small -> feBW_small -> feBW_small - | forall a b, phiM_small (sub a b) = F.sub (phiM_small a) (phiM_small b) }. -Proof. - Set Ltac Profiling. - Time synthesize_sub (). - Show Ltac Profile. -Time Defined. - -Print Assumptions sub. diff --git a/src/Specific/montgomery32_2e444m17_14limbs/fesubDisplay.v b/src/Specific/montgomery32_2e444m17_14limbs/fesubDisplay.v deleted file mode 100644 index 77fd2fa6b..000000000 --- a/src/Specific/montgomery32_2e444m17_14limbs/fesubDisplay.v +++ /dev/null @@ -1,4 +0,0 @@ -Require Import Crypto.Specific.montgomery32_2e444m17_14limbs.fesub. -Require Import Crypto.Specific.Framework.IntegrationTestDisplayCommon. - -Check display sub. diff --git a/src/Specific/montgomery32_2e444m17_14limbs/py_interpreter.sh b/src/Specific/montgomery32_2e444m17_14limbs/py_interpreter.sh deleted file mode 100755 index ac55d629a..000000000 --- a/src/Specific/montgomery32_2e444m17_14limbs/py_interpreter.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -set -eu - -/usr/bin/env python3 "$@" -Dq='2**444 - 17' -Dmodulus_bytes='32' -Da24='121665' |