From 73397a4d61733da53e87415826f3133cf3ff8a09 Mon Sep 17 00:00:00 2001 From: J08nY Date: Wed, 16 Dec 2020 19:14:06 +0100 Subject: Add the Pasta curves. --- other/curves.json | 58 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) diff --git a/other/curves.json b/other/curves.json index b704538..773ff61 100644 --- a/other/curves.json +++ b/other/curves.json @@ -1156,6 +1156,64 @@ }, "order": "0xe7db4ea6533afa906673b0101343b00a6682093ccc81082d0970e5ed6f72cb7", "cofactor": "0x08" + }, + { + "form": "Weierstrass", + "name": "Pallas", + "category": "other", + "desc": "Pallas curve from the [Pasta curves](https://electriccoin.co/blog/the-pasta-curves-for-halo-2-and-beyond/).", + "field": { + "type": "Prime", + "p": "0x40000000000000000000000000000000224698fc094cf91b992d30ed00000001", + "bits": 255 + }, + "params": { + "a": { + "raw": "0x00" + }, + "b": { + "raw": "0x05" + } + }, + "generator": { + "x": { + "raw": "0x40000000000000000000000000000000224698fc094cf91b992d30ed00000000" + }, + "y": { + "raw": "0x02" + } + }, + "order": "0x40000000000000000000000000000000224698fc0994a8dd8c46eb2100000001", + "cofactor": "0x01" + }, + { + "form": "Weierstrass", + "name": "Vesta", + "category": "other", + "desc": "Vesta curve from the [Pasta curves](https://electriccoin.co/blog/the-pasta-curves-for-halo-2-and-beyond/).", + "field": { + "type": "Prime", + "p": "0x40000000000000000000000000000000224698fc0994a8dd8c46eb2100000001", + "bits": 255 + }, + "params": { + "a": { + "raw": "0x00" + }, + "b": { + "raw": "0x05" + } + }, + "generator": { + "x": { + "raw": "0x40000000000000000000000000000000224698fc094cf91b992d30ed00000000" + }, + "y": { + "raw": "0x02" + } + }, + "order": "0x40000000000000000000000000000000224698fc094cf91b992d30ed00000001", + "cofactor": "0x01" } ] } -- cgit v1.3.1