aboutsummaryrefslogtreecommitdiff
path: root/src/math/curve.h
Commit message (Collapse)AuthorAgeFilesLines
* Move stuff related to generators to src/gen.J08nY2017-05-311-105/+0
|
* Add some more comments and docs, move exhaustive/seed.[ch] into math/J08nY2017-05-291-6/+6
|
* Add GENERATOR and UNROLL macro, use themJ08nY2017-05-231-4/+4
|
* Pad output hex to field size (both json and csv)J08nY2017-05-021-12/+0
|
* Add some docs, move them to /docs, clean-up includesJ08nY2017-04-271-1/+0
|
* Added unroll functions, to generalize going back in exhaustive generationJ08nY2017-04-101-0/+10
|
* Added multi-threading support to invalid curve generationJ08nY2017-04-091-5/+27
| | | | | | | | | | | | 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)
* Rename and reformatJ08nY2017-03-091-3/+3
|
* Added irreducibility check, equation_quit, gens_oneJ08nY2017-02-281-1/+1
| | | | | | | - 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
* Optimized invalid curve generation, added optional args to gen_tJ08nY2017-02-161-6/+6
| | | | | | | | | | | | | | - 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-10/+27
|
* Added point generation:J08nY2017-02-141-1/+9
| | | | | | - 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-11/+10
|
* Seperated different generation methods into modules.J08nY2017-02-091-0/+62
- Added Koblitz curve generation.