aboutsummaryrefslogtreecommitdiff
path: root/src/gp.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Removed GP compilation, added econvert targetJ08nY2017-04-051-14/+0
|
* Optimized invalid curve generation, added optional args to gen_tJ08nY2017-02-161-1/+1
| | | | | | | | | | | | | | - Optimized invalid curve generation - Invalid curve generation for secp256r1 now takes around 90minutes instead of 5hours as before - Optimized prime point generation(if only some small prime order points are needed -> points_primet) - Added a_once and b_once that prompt for parameter input and then set the input parameter repeatedly - Added optional args to gen_t functions - Integer input now ignores whitespace and doesnt errorneously prompt stdout when reading from file - Specified C standard(C11) + feature macros in code.
* Fixed invalid curve generation and prime order point generationJ08nY2017-02-141-3/+1
| | | | | - Wrong point order was saved (point.c:105) - Curve was not copied correctly (curve.c:32)
* Added point generation:J08nY2017-02-141-0/+2
| | | | | | - Prime order points for all prime divisors of curve order (all prime subgroups) - Random points - Minimal set of generators of the whole group (one or two points)
* Moved to a more modular generation processJ08nY2017-02-071-1/+1
| | | | | | | | | | | | | | Curves are now generated in a loop through a func. pointer array, built from cli args. - Allows complex behavior from simple funcs - a func can "rewind" previous generation steps, if it can not succesfuly guarantee that it will generate a curve/param/point with property requested. - e.g. curve_nonzero rewinds [b, a, field] (returns -3) if the curve specified by [field, a, b] has a zero discriminant. This way, [field, a, b] can be generated/produced/input again and a curve might get constructed that will be nonzero.
* Added prime order curve generation.J08nY2017-02-061-14/+0
|
* ecgen v0.2: major rewrite0.2.0J08nY2017-02-051-0/+28