aboutsummaryrefslogtreecommitdiff
path: root/src/io/input.c
Commit message (Collapse)AuthorAgeFilesLines
* Make config_t *cfg a global variable.J08nY2017-10-141-1/+1
| | | | | | 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.
* Cleanup includes.J08nY2017-09-191-1/+0
|
* Implement seed parsing for ANSI X9.62 algo. Refactor IO test layers.J08nY2017-08-301-14/+2
|
* Add err output stream, default to stderr.J08nY2017-08-301-2/+2
|
* Don't always read numbers as hexadecimal. Add tests for input.J08nY2017-08-301-4/+7
|
* Fix input_quit closing stdin.J08nY2017-08-301-1/+1
|
* Add some more comments and docs, move exhaustive/seed.[ch] into math/J08nY2017-05-291-16/+3
|
* Add debug logging with time, refactor allocationJ08nY2017-05-191-8/+2
|
* Added multi-threading support to invalid curve generationJ08nY2017-04-091-5/+7
| | | | | | | | | | | | 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-071-3/+1
|
* Fix inputs with leading zeroJ08nY2017-04-061-1/+1
|
* Fix input when EOF reachedJ08nY2017-04-051-2/+8
|
* Make some stuff staticJ08nY2017-04-051-1/+1
|
* Add exhaustive_gen_retry, fix infinite loop, add retry limit to exhaustive genJ08nY2017-04-051-1/+4
|
* Fix inputJ08nY2017-04-041-0/+11
|
* fix output when reading from fileJ08nY2017-03-091-2/+2
|
* Rename and reformatJ08nY2017-03-091-1/+2
|
* Added requested points type option + count optionJ08nY2017-03-011-2/+1
|
* Optimized invalid curve generation, added optional args to gen_tJ08nY2017-02-161-25/+22
| | | | | | | | | | | | | | - 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.
* Add some TODOs, fix buildJ08nY2017-02-151-3/+3
|
* Added point generation:J08nY2017-02-141-1/+1
| | | | | | - 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)
* Implemented invalid curve generationJ08nY2017-02-141-22/+25
|
* Properly split into submodulesJ08nY2017-02-101-2/+2
|
* Seperated different generation methods into modules.J08nY2017-02-091-0/+115
- Added Koblitz curve generation.