aboutsummaryrefslogtreecommitdiff
path: root/src/io/output.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix builds with makefile.J08nY2020-11-291-0/+5
|
* Add conductor computation.J08nY2019-08-021-6/+6
|
* Add util directory and jq script to transform into CSV.J08nY2018-06-301-6/+8
|
* Implement computation of curve metadata(j-invariant, disc, frobenius, cm disc).J08nY2018-06-301-0/+35
|
* Refactor point generation tests.J08nY2018-03-031-12/+12
|
* Rewrite generator and point generation code.J08nY2018-03-031-57/+39
|
* Drop CSV support.J08nY2018-02-271-108/+9
|
* Update copyright year.J08nY2018-01-011-1/+1
|
* Format and update README.J08nY2017-10-141-6/+2
|
* Make config_t *cfg a global variable.J08nY2017-10-141-24/+24
| | | | | | 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 enums around, make a general seed_unroll.J08nY2017-09-201-5/+1
|
* Run clang-format.J08nY2017-09-191-1/+1
|
* Output seed in JSON format output.J08nY2017-09-191-0/+11
|
* Implement seed parsing for ANSI X9.62 algo. Refactor IO test layers.J08nY2017-08-301-20/+21
|
* Add err output stream, default to stderr.J08nY2017-08-301-21/+28
|
* Use correct allocation functions. Add try_free.J08nY2017-08-301-7/+7
|
* Move stuff related to generators to src/gen.J08nY2017-05-311-1/+1
|
* Add some more comments and docs, move exhaustive/seed.[ch] into math/J08nY2017-05-291-1/+2
|
* Add debug logging with time, refactor allocationJ08nY2017-05-191-14/+8
|
* Pad output hex to field size (both json and csv)J08nY2017-05-021-33/+99
|
* Add output separators, invalid curve generation now outputs valid JSONJ08nY2017-04-261-20/+70
|
* Moved curve output in multi-threaded invalid curve generation to master threadJ08nY2017-04-101-9/+7
| | | | | | - Fixed mutex and cond destroy - Added debug() macro - Renamed debug out stream to verbose
* Added multi-threading support to invalid curve generationJ08nY2017-04-091-9/+13
| | | | | | | | | | | | 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)
* Make some stuff staticJ08nY2017-04-051-1/+1
|
* Rename and reformatJ08nY2017-03-091-14/+12
|
* fixed leak in io/output.cJ08nY2017-02-281-2/+2
|
* ecgen v0.3: some cleanup and version bumpJ08nY2017-02-191-9/+14
|
* Added generatorsJ08nY2017-02-191-19/+46
| | | | | | | - Added new type of gen_t, essentially only for generators. Since they are points with a special property. - Added order_smallfact generator - Added generators to csv and json output
* Optimized invalid curve generation, added optional args to gen_tJ08nY2017-02-161-11/+21
| | | | | | | | | | | | | | - 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.
* Implemented json output, also output format option (-t/--format)J08nY2017-02-151-15/+120
|
* Add some TODOs, fix buildJ08nY2017-02-151-4/+10
|
* Fixed invalid curve generation and prime order point generationJ08nY2017-02-141-2/+7
| | | | | - Wrong point order was saved (point.c:105) - Curve was not copied correctly (curve.c:32)
* Added point generation:J08nY2017-02-141-1/+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)
* Implemented invalid curve generationJ08nY2017-02-141-6/+5
|
* Properly split into submodulesJ08nY2017-02-101-3/+1
|
* Seperated different generation methods into modules.J08nY2017-02-091-0/+76
- Added Koblitz curve generation.