summaryrefslogtreecommitdiff
path: root/src/cm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make config_t *cfg a global variable.J08nY2017-10-142-3/+2
| | | | | | The config is setup from parsing CLI options and then doesn't change for the whole duration of running ecgen, so it makes sense to make it a global variable.
* Move some files into src/misc.J08nY2017-09-191-1/+1
|
* Add err output stream, default to stderr.J08nY2017-08-301-1/+1
|
* Use correct allocation functions. Add try_free.J08nY2017-08-301-2/+2
|
* Added generating of points on all subgroups of a curve.J08nY2017-05-231-1/+0
| | | | | - Use --points=all, the number of points can be quite large however, it's 2^(num of prime subgroups of the curve).
* Add debug logging with time, refactor allocationJ08nY2017-05-192-11/+9
|
* Begin CM workJ08nY2017-04-213-3/+444
|
* Fixed exhaustive curve generation for params with no curveJ08nY2017-04-101-2/+5
| | | | | | | - Added some debug prints - Fixed debug macro - Temporarily disabled obj_free in exhaustive_gen until roll_t arrives
* Added multi-threading support to invalid curve generationJ08nY2017-04-091-3/+3
| | | | | | | | | | | | Invalid curve generation now supports multi-threading via pthreads, use the --threads= option. - Changed some function params to const, where possible. - Added *_new_copy, *_clone and *_new_clone functions to curve_t*, point_t* and point_t** - Made cfg->bits unsigned long - Made order_any gcopy the generated order(as it can be a clone and screw up stuff later)
* Fix binary field curve generation, move config into config.hJ08nY2017-04-072-0/+2
|
* ecgen v0.3: some cleanup and version bumpJ08nY2017-02-191-4/+1
|
* Optimized invalid curve generation, added optional args to gen_tJ08nY2017-02-161-2/+2
| | | | | | | | | | | | | | - 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.
* Added some docs + DoxyfileJ08nY2017-02-151-0/+3
|
* Add some TODOs, fix buildJ08nY2017-02-151-1/+4
|
* Properly split into submodulesJ08nY2017-02-102-0/+11
|
* Seperated different generation methods into modules.J08nY2017-02-092-0/+13
- Added Koblitz curve generation.