aboutsummaryrefslogtreecommitdiff
path: root/src/io/cli.c
Commit message (Collapse)AuthorAgeFilesLines
* Add basis of brainpool RFC generation (equation part).J08nY2017-12-141-34/+48
|
* Implement base of brainpool algo.J08nY2017-12-131-4/+20
|
* Move some enums around, make a general seed_unroll.J08nY2017-11-081-1/+0
|
* Add hex check to cli.J08nY2017-10-191-1/+32
|
* Cleanup the CLI options parsing and enums a bit.J08nY2017-10-191-140/+178
|
* Make config_t *cfg a global variable.J08nY2017-10-141-2/+0
| | | | | | 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.
* Add tests for timeout option.J08nY2017-10-041-5/+12
|
* Add per-param timeout option.J08nY2017-10-041-1/+20
|
* Introduce check_t func.J08nY2017-09-291-3/+4
|
* Move some enums around, make a general seed_unroll.J08nY2017-09-201-7/+10
|
* Cleanup includes.J08nY2017-09-191-1/+0
|
* Run clang-format.J08nY2017-09-191-5/+4
|
* Move some files into src/misc.J08nY2017-09-191-1/+1
|
* Output seed in JSON format output.J08nY2017-09-191-7/+7
|
* Move some stuff from general seed_t handling in gen/seed.[ch] to ↵J08nY2017-09-171-2/+2
| | | | exhaustive/ansi.[ch].
* Remove binascii utilities, move seed manipulation to bits_t.J08nY2017-09-131-4/+2
|
* Paritially implement W computation in ANSI X9.62 algo.J08nY2017-09-071-0/+2
|
* Implement hashing of ANSI X9.62 seed.J08nY2017-08-311-2/+2
|
* Add tests for cli parsing.J08nY2017-08-301-1/+1
|
* Add proper support for Koblitz curves generation.J08nY2017-07-201-2/+9
|
* Add generating of points on non-prime order subgroups of a curve.J08nY2017-06-011-5/+7
| | | | - Use --points=nonprime
* Remove unnecessary not-null checks in cli parsingJ08nY2017-05-291-54/+35
|
* Added generating of points on all subgroups of a curve.J08nY2017-05-231-4/+9
| | | | | - Use --points=all, the number of points can be quite large however, it's 2^(num of prime subgroups of the curve).
* Add notice about not finished/implemented parts to READMEJ08nY2017-05-201-29/+29
| | | | | | - Also to --help output - Also add notes about used libraries and their licenses - Fix CMake build by adding src/util/*.c
* Fix missing break in --threads handlingJ08nY2017-05-191-0/+1
|
* Pad output hex to field size (both json and csv)J08nY2017-05-021-0/+2
|
* Merge branch 'cm'J08nY2017-05-011-5/+20
|\
| * Begin CM workJ08nY2017-04-211-5/+20
| |
* | Add some docs, move them to /docs, clean-up includesJ08nY2017-04-271-1/+0
|/
* Moved curve output in multi-threaded invalid curve generation to master threadJ08nY2017-04-101-1/+1
| | | | | | - Fixed mutex and cond destroy - Added debug() macro - Renamed debug out stream to verbose
* Added multi-threading support to invalid curve generationJ08nY2017-04-091-12/+49
| | | | | | | | | | | | 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-0/+1
|
* Fix curve generation over binary fields, cleanup CMakelistsJ08nY2017-04-061-1/+1
|
* Fix some leaks, add option to specify PARI stack sizeJ08nY2017-04-051-3/+23
|
* Added option to request no points on the curveJ08nY2017-03-251-1/+3
| | | | --points=none
* Fixed generation with cofactor.J08nY2017-03-251-0/+1
|
* Rename and reformatJ08nY2017-03-091-57/+83
|
* Added requested points type option + count optionJ08nY2017-03-011-2/+19
|
* Added option to request uniquely generated curves.J08nY2017-02-281-66/+61
| | | | -u --unique
* Optimized invalid curve generation, added optional args to gen_tJ08nY2017-02-161-15/+28
| | | | | | | | | | | | | | - 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-24/+41
|
* Added point generation:J08nY2017-02-141-14/+22
| | | | | | - 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-15/+15
|
* cli: Fix help find&replace error.J08nY2017-02-131-1/+1
|
* Properly split into submodulesJ08nY2017-02-101-26/+26
|
* Seperated different generation methods into modules.J08nY2017-02-091-0/+139
- Added Koblitz curve generation.