aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2020-10-13 00:11:03 +0200
committerJ08nY2020-10-13 00:11:03 +0200
commit9ba989c1a123b0b7d2045cbbe448cc6b3c28ebd1 (patch)
tree75e667f01d3587082ffb27eb33a60fc1375fef28
parentec7359dd245f21575b22dc1f4ac4d461a352a3a8 (diff)
downloadstd-curves-9ba989c1a123b0b7d2045cbbe448cc6b3c28ebd1.tar.gz
std-curves-9ba989c1a123b0b7d2045cbbe448cc6b3c28ebd1.tar.zst
std-curves-9ba989c1a123b0b7d2045cbbe448cc6b3c28ebd1.zip
Minor fixes in the format to align with the schema.
-rw-r--r--oakley/curves.json7
-rw-r--r--other/curves.json2
-rw-r--r--x963/curves.json7
3 files changed, 11 insertions, 5 deletions
diff --git a/oakley/curves.json b/oakley/curves.json
index d372821..41f1b6e 100644
--- a/oakley/curves.json
+++ b/oakley/curves.json
@@ -87,7 +87,7 @@
"raw": ""
}
},
- "order": "0X01ffffffffffffffffffffffdbf2f889b73e484175f94ebc",
+ "order": "0x01ffffffffffffffffffffffdbf2f889b73e484175f94ebc",
"cofactor": "0x01"
},
{
@@ -190,7 +190,7 @@
"raw": "0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFFFF0000000000000000FFFFFFFC"
},
"b": {
- "raw": "B3312FA7E23EE7E4988E056BE3F82D19181D9C6EFE8141120314088F5013875AC656398D8A2ED19D2A85C8EDD3EC2AEF"
+ "raw": "0xB3312FA7E23EE7E4988E056BE3F82D19181D9C6EFE8141120314088F5013875AC656398D8A2ED19D2A85C8EDD3EC2AEF"
}
},
"generator": {
@@ -233,4 +233,5 @@
"order": "0x000001FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFA51868783BF2F966B7FCC0148F709A5D03BB5C9B8899C47AEBB6FB71E91386409",
"cofactor": "0x01"
}
- ] \ No newline at end of file
+ ]
+}
diff --git a/other/curves.json b/other/curves.json
index 3471793..8e13520 100644
--- a/other/curves.json
+++ b/other/curves.json
@@ -446,7 +446,7 @@
}
},
"order": "0x7ffffffffffffffffffffffffffffffffffffffffffffffffffeb3cc92414cf706022b36f1c0338ad63cf181b0e71a5e106af79",
- "cofactor": "0x08",
+ "cofactor": "0x08"
},
{
"name": "Fp254BNa",
diff --git a/x963/curves.json b/x963/curves.json
index 2cfee51..f7d82db 100644
--- a/x963/curves.json
+++ b/x963/curves.json
@@ -174,6 +174,7 @@
"field": {
"type": "Binary",
"bits": 193,
+ "degree": 193,
"poly": [
{
"power": 193,
@@ -220,6 +221,7 @@
"field": {
"type": "Binary",
"bits": 193,
+ "degree": 193,
"poly": [
{
"power": 193,
@@ -364,6 +366,7 @@
"field": {
"type": "Binary",
"bits": 239,
+ "degree": 239,
"poly": [
{
"power": 239,
@@ -410,6 +413,7 @@
"field": {
"type": "Binary",
"bits": 283,
+ "degree": 283,
"poly": [
{
"power": 283,
@@ -465,6 +469,7 @@
"field": {
"type": "Binary",
"bits": 283,
+ "degree": 283,
"poly": [
{
"power": 283,
@@ -1022,4 +1027,4 @@
]
}
]
-} \ No newline at end of file
+}