diff options
| author | J08nY | 2020-12-16 00:29:45 +0100 |
|---|---|---|
| committer | J08nY | 2020-12-16 00:29:45 +0100 |
| commit | 9421aecd67f7ac0efb2d728fb31bb14f500361be (patch) | |
| tree | b1712af506256143bf21807d0088a9110bf64fa0 /test/data | |
| parent | c1a3bdc558725ad9792f874c914eb42319aed84c (diff) | |
| download | pyecsca-9421aecd67f7ac0efb2d728fb31bb14f500361be.tar.gz pyecsca-9421aecd67f7ac0efb2d728fb31bb14f500361be.tar.zst pyecsca-9421aecd67f7ac0efb2d728fb31bb14f500361be.zip | |
Diffstat (limited to 'test/data')
| -rw-r--r-- | test/data/curves.json | 37 |
1 files changed, 37 insertions, 0 deletions
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" + } + ] +} |
