84 Commits

Author SHA1 Message Date
J08nY
77fe6e3585 Add pre-commit. 2026-04-03 00:47:53 +02:00
J08nY
086dc95bda Add machine-readable sources to curves. 2026-04-03 00:33:29 +02:00
J08nY
0816d4ddd3 Add characteristics to schema. 2026-04-02 16:47:10 +02:00
J08nY
b7ff37e4d4 Make a canonical key order. 2026-04-02 16:31:59 +02:00
J08nY
e098bf5d4f Fix cm_discs and conductors.
This was wrong due to: https://github.com/J08nY/ecgen/issues/12
Now fixed.
2026-04-02 16:21:46 +02:00
J08nY
44249e54bf Drop the torsion_degrees characteristics.
Too niche.
2026-04-01 23:09:16 +02:00
J08nY
d91d84e966 Pass through jq to reformat. 2026-04-01 23:06:56 +02:00
J08nY
d4d6f1b64b Fixup URL in README. 2026-04-01 22:15:46 +02:00
J08nY
bf7cec4390 Make this work. 2026-04-01 18:27:46 +02:00
J08nY
0e1ddef415 Finally. 2026-04-01 18:15:12 +02:00
J08nY
d19ea7a568 SageMath check does not check. 2026-04-01 18:11:36 +02:00
J08nY
4be113706f Fix indent, lmao. 2026-04-01 18:07:39 +02:00
J08nY
b6529dc72e Finally SageMath? 2026-04-01 18:04:11 +02:00
J08nY
0a80c0300b Try to install sage. 2026-04-01 18:01:47 +02:00
J08nY
04a8f5dbae Use micromamba. 2026-04-01 17:58:51 +02:00
J08nY
d3f2c22f36 Conda init? 2026-04-01 17:54:08 +02:00
J08nY
010404f418 Add conda-forge. 2026-04-01 17:50:11 +02:00
J08nY
cf72305277 Fix validation workflow. 2026-04-01 17:48:38 +02:00
J08nY
89ac1d5e19 Add curve data validation via SageMath. 2026-04-01 17:47:50 +02:00
J08nY
dc363b3c43 Gracefully handle timeout in validation script. 2026-04-01 15:38:41 +02:00
J08nY
9284a44cd4 Better handle timeouts. 2026-04-01 09:54:56 +02:00
J08nY
9afca4fed5 Fix validate.sh syntax. 2026-04-01 01:30:56 +02:00
J08nY
8a32aec1cd Timeout the validation.
Computing the embedding degree naively can take a lot of time.
2026-03-31 23:28:33 +02:00
J08nY
821461a9d4 Check schema and validate curve metadata. 2026-03-31 18:24:06 +02:00
J08nY
c31d4439be Relax schema a bit.
Negative values and generator not required.
2026-03-31 18:07:57 +02:00
J08nY
92377a5d8e Fix syntax issues in new BLS curve. 2026-03-31 18:07:43 +02:00
opsiv
a22f5ef939 Feature/towerfields (#30)
* Add tower field schema definition

* Added exmaple curves

* added missing "field {"

* Element/irreducible polynomial representation fix
- Vector definitions have been removed
- The Polynomial definition supports nested polynomials as coefficients
- field tower elements are now represented using (nested) polynomials
  instead of vectors
- the irreducible polynomial is no longer required to be monic (since
  the `poly` representation supports non-monic polynomials too)
- Adapted the definition example curve BLS48-581 to use the new schema.
2026-03-31 17:27:35 +02:00
J08nY
6672a56c4d Add field descriptions to schema. 2026-03-25 12:46:02 +01:00
J08nY
4219639206 Fix test when params are negative. 2025-12-03 23:11:36 +01:00
J08nY
eaabd6980f Bump bitsize for oversized curves. 2025-12-03 18:08:43 +01:00
J08nY
bfccf8f955 Fix Python setup in action. 2025-12-03 17:54:11 +01:00
RyuaNerin
e38e67d9f3 Fix incorrect parameter in other/SSC-192 (#27) 2025-12-03 17:52:54 +01:00
J08nY
dc8f1b7ae0 Rename runs. 2025-12-03 17:50:21 +01:00
J08nY
ae86eed450 Fix order check. 2025-12-03 17:47:46 +01:00
J08nY
222145c6ff Add curve order validation in CI.
This will hopefully avoid embarassing issues like: #27.
2025-12-03 17:45:41 +01:00
J08nY
2a49668d4f Bump action. 2025-12-03 15:00:31 +01:00
J08nY
2a9b50eaff Add Curve448.
Fixes #24.
2024-08-27 15:31:17 +02:00
Carl Richard Theodor Schneider
f43bfbf1b4 Fix incorrect aliases. (#23)
Fixes #22
2024-01-02 15:57:41 +01:00
Vláďa Sedláček
f62e1a01f4 Fix incorrect seeds. (#21) 2023-10-12 18:26:43 +02:00
J08nY
32935e4291 Add Tom curves.
Fixes #16.
2023-03-29 13:36:22 +02:00
J08nY
9aace1b580 Add FourQ.
Fixes #20.
2023-03-28 17:46:14 +02:00
J08nY
cd41e85172 Add BLS12-377.
Fix #18.
2022-12-07 15:14:57 +01:00
J08nY
1bef185f97 Fix Ed448 and rename original one to Goldilocks. 2022-06-21 18:17:57 +02:00
David Blevins
fd08ca9f90 Add more OIDs (#15)
* OIDs for c2pnb176w1 c2pnb304W1
https://oidref.com/1.2.840.10045.3.0.4
https://oidref.com/1.2.840.10045.3.0.17

* OID for FRP256v1
http://www.oid-info.com/get/1.2.250.1.223.101.256.1

* Add the OID of the respective alias

* Add OID for ansit163k1
http://oidref.com/1.3.132.0.1
2021-09-03 09:45:38 +02:00
J08nY
fedcf8dafb Bigger timeout for OID check. 2021-09-03 09:35:36 +02:00
J08nY
72e1894635 Fix missing generators. 2021-09-03 09:33:09 +02:00
David Blevins
6346d442ef Add oid for secp256r1 (#14) 2021-08-29 15:35:03 +02:00
J08nY
0fbb137e76 Sync upstream changes. 2021-08-05 16:16:38 +02:00
VladaSedlacek
722a841150 Fix y-coords of M-383 and M-511 generators. (#13)
Co-authored-by: Vladimír Sedláček <vlada.sedlacek@mail.muni.cz>
2021-02-21 19:01:31 +01:00
J08nY
9bc2b5e822 Fix vesta generator. 2020-12-21 12:29:32 +01:00