aboutsummaryrefslogtreecommitdiff
path: root/src/math/order.c
Commit message (Collapse)AuthorAgeFilesLines
* Move stuff related to generators to src/gen.J08nY2017-05-311-114/+0
|
* Add order_gen_input, for reading pregenerated curve orderJ08nY2017-05-291-0/+14
|
* Added generating of points on all subgroups of a curve.J08nY2017-05-231-0/+33
| | | | | - Use --points=all, the number of points can be quite large however, it's 2^(num of prime subgroups of the curve).
* Add GENERATOR and UNROLL macro, use themJ08nY2017-05-231-5/+5
|
* Fix some newlines.J08nY2017-04-201-1/+2
|
* Try to fix multi-threaded SEAJ08nY2017-04-161-2/+15
|
* Added unroll functions, to generalize going back in exhaustive generationJ08nY2017-04-101-2/+2
|
* Added multi-threading support to invalid curve generationJ08nY2017-04-091-4/+9
| | | | | | | | | | | | 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)
* Add exhaustive_gen_retry, fix infinite loop, add retry limit to exhaustive genJ08nY2017-04-051-1/+1
|
* Fixed cofactor generation for larger bounds.J08nY2017-03-251-4/+5
|
* Fixed generation with cofactor.J08nY2017-03-251-6/+14
|
* Rename and reformatJ08nY2017-03-091-1/+1
|
* Added irreducibility check, equation_quit, gens_oneJ08nY2017-02-281-1/+3
| | | | | | | - irreducibility check in field_input for f2m - equation_quit frees stuff possibly allocated by a_once and b_once - gens_one requests the curve to have only one generator - renamed some base generators to _any from _init, as they dont really init anythong, just do no checks
* Added generatorsJ08nY2017-02-191-0/+16
| | | | | | | - 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-3/+3
| | | | | | | | | | | | | | - 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.
* Properly split into submodulesJ08nY2017-02-101-0/+21