aboutsummaryrefslogtreecommitdiff
path: root/src/point.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Seperated different generation methods into modules.J08nY2017-02-091-13/+0
| | | | - Added Koblitz curve generation.
* Moved to a more modular generation processJ08nY2017-02-071-6/+2
| | | | | | | | | | | | | | 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-0/+17