aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2023-03-28 17:46:14 +0200
committerJ08nY2023-03-28 17:46:14 +0200
commit9aace1b58078032a64e40d34edb4d45acc6f668d (patch)
tree356f8ff1c7227c73918f0c7aca3dbd541bfe2b6b
parentcd41e851723dfebd76a978717c0d89569c495971 (diff)
downloadstd-curves-9aace1b58078032a64e40d34edb4d45acc6f668d.tar.gz
std-curves-9aace1b58078032a64e40d34edb4d45acc6f668d.tar.zst
std-curves-9aace1b58078032a64e40d34edb4d45acc6f668d.zip
Add FourQ.
Fixes #20.
-rw-r--r--other/curves.json46
1 files changed, 46 insertions, 0 deletions
diff --git a/other/curves.json b/other/curves.json
index 71a9eb0..e1c0ce6 100644
--- a/other/curves.json
+++ b/other/curves.json
@@ -1349,6 +1349,52 @@
},
"order": "0xffffffffffffffffffffffffffffdf5c0319f61dc6ccebe902bc220f",
"cofactor": "0x01"
+ },
+ {
+ "name": "FourQ",
+ "category": "other",
+ "desc": "Curve used in https://eprint.iacr.org/2015/565.pdf",
+ "field": {
+ "type": "Extension",
+ "base": "0x7fffffffffffffffffffffffffffffff",
+ "bits": 127,
+ "degree": 2,
+ "poly": [
+ {
+ "power": 2,
+ "coeff": "0x01"
+ },
+ {
+ "power": 0,
+ "coeff": "0x01"
+ }
+ ]
+ },
+ "form": "TwistedEdwards",
+ "params": {
+ "a": {
+ "poly": [
+ {
+ "power": 0,
+ "coeff": "0x00"
+ }
+ ]
+ },
+ "d": {
+ "poly": [
+ {
+ "power": 1,
+ "coeff": "0x5e472f846657e0fcb3821488f1fc0c8d"
+ },
+ {
+ "power": 0,
+ "coeff": "0xe40000000000000142"
+ }
+ ]
+ }
+ },
+ "order": "0x29cbc14e5e0a72f05397829cbc14e5dfbd004dfe0f79992fb2540ec7768ce7",
+ "cofactor": "0x188"
}
]
}