aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJ08nY2024-08-27 15:31:17 +0200
committerJ08nY2024-08-27 15:31:17 +0200
commit2a9b50eaff93f545f2602af2a7d0bde305dfd8f4 (patch)
tree1e7df24c98d021bc774a8ec1b325f9db586a4d82
parentf43bfbf1b4d65bb6b7c2bf313ab63030629168b0 (diff)
downloadstd-curves-2a9b50eaff93f545f2602af2a7d0bde305dfd8f4.tar.gz
std-curves-2a9b50eaff93f545f2602af2a7d0bde305dfd8f4.tar.zst
std-curves-2a9b50eaff93f545f2602af2a7d0bde305dfd8f4.zip
Add Curve448.
Fixes #24.
-rw-r--r--other/curves.json30
1 files changed, 30 insertions, 0 deletions
diff --git a/other/curves.json b/other/curves.json
index f8d08a4..3539de8 100644
--- a/other/curves.json
+++ b/other/curves.json
@@ -211,6 +211,36 @@
}
},
{
+ "name": "Curve448",
+ "category": "other",
+ "desc": "Curve from https://datatracker.ietf.org/doc/html/rfc7748",
+ "field": {
+ "type": "Prime",
+ "p": "0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffeffffffffffffffffffffffffffffffffffffffffffffffffffffffff",
+ "bits": 448
+ },
+ "form": "Montgomery",
+ "params": {
+ "a": {
+ "raw": "0x262a6"
+ },
+ "b": {
+ "raw": "0x01"
+ }
+ },
+ "generator": {
+ "x": {
+ "raw": "0x05"
+ },
+ "y": {
+ "raw": "0x7d235d1295f5b1f66c98ab6e58326fcecbae5d34f55545d060f75dc28df3f6edb8027e2346430d211312c4b150677af76fd7223d457b5b1a"
+ }
+ },
+ "order": "0x3fffffffffffffffffffffffffffffffffffffffffffffffffffffff7cca23e9c44edb49aed63690216cc2728dc58f552378c292ab5844f3",
+ "cofactor": "0x04",
+ "characteristics": {}
+ },
+ {
"name": "Curve22103",
"category": "other",
"desc": "Curve from https://github.com/relic-toolkit/relic",