From 9421aecd67f7ac0efb2d728fb31bb14f500361be Mon Sep 17 00:00:00 2001 From: J08nY Date: Wed, 16 Dec 2020 00:29:45 +0100 Subject: Properly handle coordinate system assumptions. Fixes #3. --- test/data/curves.json | 37 +++++++++++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 test/data/curves.json (limited to 'test/data') diff --git a/test/data/curves.json b/test/data/curves.json new file mode 100644 index 0000000..978ab36 --- /dev/null +++ b/test/data/curves.json @@ -0,0 +1,37 @@ +{ + "name": "test", + "desc": "Test description", + "curves": [ + { + "form": "Edwards", + "name": "small-8bits-edwards-curve-c1-d-has-sqrt", + "category": "test", + "desc": "A small 8-bit Edwards curve with with c = 1 and d has sqrt.", + "field": { + "type": "Prime", + "p": "0xDF", + "bits": 8 + }, + "params": { + "c": { + "raw": "0x1" + }, + "d": { + "raw": "0xF" + } + }, + "generator": { + "x": { + "raw": "0xC3" + }, + "y": { + "raw": "0xB4" + } + }, + "r": "0x62", + "s": "0xB0", + "order": "0x1F0", + "cofactor": "0x1" + } + ] +} -- cgit v1.2.3-70-g09d2