aboutsummaryrefslogtreecommitdiff
path: root/src/Specific/CurveParameters
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-10-16 01:04:57 -0400
committerGravatar Jason Gross <jgross@mit.edu>2017-10-16 01:04:57 -0400
commit35c45bd5c27afed58f0e7b0db4ca0310490e037c (patch)
tree9ad8271e932716dbf50889c64acf5c4061fbf7aa /src/Specific/CurveParameters
parent06b31cfe1f8bc0c7e03d386767f84d1422b3f89a (diff)
Add more json files
Diffstat (limited to 'src/Specific/CurveParameters')
-rw-r--r--src/Specific/CurveParameters/montgomery32_2e205m45x2e198m1.json14
-rw-r--r--src/Specific/CurveParameters/montgomery64_2e205m45x2e198m1.json14
-rw-r--r--src/Specific/CurveParameters/solinas32_2e205m45x2e198m1.json14
-rw-r--r--src/Specific/CurveParameters/solinas64_2e205m45x2e198m1.json14
4 files changed, 56 insertions, 0 deletions
diff --git a/src/Specific/CurveParameters/montgomery32_2e205m45x2e198m1.json b/src/Specific/CurveParameters/montgomery32_2e205m45x2e198m1.json
new file mode 100644
index 000000000..eb62a1f94
--- /dev/null
+++ b/src/Specific/CurveParameters/montgomery32_2e205m45x2e198m1.json
@@ -0,0 +1,14 @@
+{
+ "base": "32",
+ "compiler": "gcc -fno-peephole2 `#GCC BUG 81300` -march=native -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -Wno-incompatible-pointer-types -fno-strict-aliasing",
+ "modulus": "2^205 - 45*2^198 - 1",
+ "montgomery": true,
+ "operations": [
+ "fenz",
+ "feadd",
+ "femul",
+ "feopp",
+ "fesub"
+ ],
+ "sz": "7"
+}
diff --git a/src/Specific/CurveParameters/montgomery64_2e205m45x2e198m1.json b/src/Specific/CurveParameters/montgomery64_2e205m45x2e198m1.json
new file mode 100644
index 000000000..8a4f865fb
--- /dev/null
+++ b/src/Specific/CurveParameters/montgomery64_2e205m45x2e198m1.json
@@ -0,0 +1,14 @@
+{
+ "base": "64",
+ "compiler": "gcc -fno-peephole2 `#GCC BUG 81300` -march=native -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes -Wno-incompatible-pointer-types -fno-strict-aliasing",
+ "modulus": "2^205 - 45*2^198 - 1",
+ "montgomery": true,
+ "operations": [
+ "fenz",
+ "feadd",
+ "femul",
+ "feopp",
+ "fesub"
+ ],
+ "sz": "4"
+}
diff --git a/src/Specific/CurveParameters/solinas32_2e205m45x2e198m1.json b/src/Specific/CurveParameters/solinas32_2e205m45x2e198m1.json
new file mode 100644
index 000000000..1f448c3d0
--- /dev/null
+++ b/src/Specific/CurveParameters/solinas32_2e205m45x2e198m1.json
@@ -0,0 +1,14 @@
+{
+ "base": "None",
+ "bitwidth": 32,
+ "carry_chains": "default",
+ "coef_div_modulus": "2",
+ "compiler": "gcc -march=native -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes",
+ "modulus": "2^205 - 45*2^198 - 1",
+ "operations": [
+ "femul",
+ "fesquare",
+ "freeze"
+ ],
+ "sz": "10"
+}
diff --git a/src/Specific/CurveParameters/solinas64_2e205m45x2e198m1.json b/src/Specific/CurveParameters/solinas64_2e205m45x2e198m1.json
new file mode 100644
index 000000000..fe66e76c3
--- /dev/null
+++ b/src/Specific/CurveParameters/solinas64_2e205m45x2e198m1.json
@@ -0,0 +1,14 @@
+{
+ "base": "None",
+ "bitwidth": 64,
+ "carry_chains": "default",
+ "coef_div_modulus": "2",
+ "compiler": "gcc -march=native -mtune=native -std=gnu11 -O3 -flto -fomit-frame-pointer -fwrapv -Wno-attributes",
+ "modulus": "2^205 - 45*2^198 - 1",
+ "operations": [
+ "femul",
+ "fesquare",
+ "freeze"
+ ],
+ "sz": "5"
+}