aboutsummaryrefslogtreecommitdiff
path: root/src/math/random.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Move stuff related to generators to src/gen.J08nY2017-05-311-64/+0
|
* Added generating of points on all subgroups of a curve.J08nY2017-05-231-7/+6
| | | | | - Use --points=all, the number of points can be quite large however, it's 2^(num of prime subgroups of the curve).
* Added multi-threading support to invalid curve generationJ08nY2017-04-091-2/+2
| | | | | | | | | | | | 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 some leaks, add option to specify PARI stack sizeJ08nY2017-04-051-1/+1
|
* Always read a whole pari_ulong from dev/urandomJ08nY2017-02-191-1/+5
|
* Optimized invalid curve generation, added optional args to gen_tJ08nY2017-02-161-1/+2
| | | | | | | | | | | | | | - 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 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-1/+1
|
* Seperated different generation methods into modules.J08nY2017-02-091-0/+60
- Added Koblitz curve generation.