summaryrefslogtreecommitdiff
path: root/src/math (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make config_t *cfg a global variable.J08nY2017-10-142-9/+6
| | | | | | 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 files into src/misc.J08nY2017-09-191-1/+1
|
* Implement hashing of ANSI X9.62 seed.J08nY2017-08-311-1/+2
|
* Use gtoset instead of sort and manual uniq algo.J08nY2017-08-311-11/+2
|
* More point tests and formating.J08nY2017-08-301-2/+2
|
* Refactor some of the subgroups code.J08nY2017-08-301-22/+32
|
* Fix subgroup order enumeration, that broke point enumeration for some curves.J08nY2017-08-301-35/+28
|
* Add first working test.J08nY2017-08-291-1/+1
|
* Add proper support for Koblitz curves generation.J08nY2017-07-201-10/+10
|
* Some cleanup of unused stuff.J08nY2017-07-201-1/+18
|
* Make --points=all not error for some edge cases.J08nY2017-06-081-21/+42
|
* Fix formatting and whitespace.J08nY2017-06-051-3/+2
|
* Fix errors in point generation, for "nonprime" points mainly.J08nY2017-06-052-24/+82
|
* Fix formatting.J08nY2017-06-011-2/+1
|
* Add generating of points on non-prime order subgroups of a curve.J08nY2017-06-012-0/+99
| | | | - Use --points=nonprime
* Move stuff related to generators to src/gen.J08nY2017-05-3120-2008/+0
|
* Add some more comments and docs, move exhaustive/seed.[ch] into math/J08nY2017-05-2913-128/+333
|
* Add order_gen_input, for reading pregenerated curve orderJ08nY2017-05-292-0/+25
|
* Added generating of points on all subgroups of a curve.J08nY2017-05-238-18/+141
| | | | | - 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-2313-82/+94
|
* Add debug logging with time, refactor allocationJ08nY2017-05-194-40/+11
|
* Fixed unrolls / unique generator curve generatonJ08nY2017-05-073-5/+3
| | | | | | - Also added some tests to catch some regressions like this early - Fixed double free in gens, also some funky stuff with gunclone and obj_free in curve_free
* Pad output hex to field size (both json and csv)J08nY2017-05-022-47/+0
|
* Merge branch 'cm'J08nY2017-05-012-1/+10
|\
| * Add anomalous curve generationJ08nY2017-04-212-0/+5
| |
| * Begin CM workJ08nY2017-04-211-1/+5
| |
* | Add some docs, move them to /docs, clean-up includesJ08nY2017-04-278-10/+16
|/
* Fix some newlines.J08nY2017-04-202-3/+4
|
* Load modular polynomial db in main threadJ08nY2017-04-181-0/+21
|
* Try to fix multi-threaded SEAJ08nY2017-04-162-2/+26
|
* Fix unnecessary indirection in curve_paramsJ08nY2017-04-111-10/+4
|
* Added unroll functions, to generalize going back in exhaustive generationJ08nY2017-04-109-11/+78
|
* Fixed exhaustive curve generation for params with no curveJ08nY2017-04-101-3/+12
| | | | | | | - Added some debug prints - Fixed debug macro - Temporarily disabled obj_free in exhaustive_gen until roll_t arrives
* Added multi-threading support to invalid curve generationJ08nY2017-04-0920-95/+252
| | | | | | | | | | | | 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 point copyJ08nY2017-04-092-3/+4
|
* fix bad object free(after stack rewind)J08nY2017-04-071-5/+0
|
* Fix binary field curve generation, move config into config.hJ08nY2017-04-074-6/+42
|
* Fix curve generation over binary fields, cleanup CMakelistsJ08nY2017-04-064-10/+17
|
* Fix ellinit leak, also compile with pari 2.9.2 for ellsea fixJ08nY2017-04-061-0/+8
|
* Fix some leaks, add option to specify PARI stack sizeJ08nY2017-04-053-2/+3
|
* Make some stuff staticJ08nY2017-04-054-6/+6
|
* Fix curve_copy, generators were not copiedJ08nY2017-04-051-0/+6
|
* 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-0915-68/+67
|
* Added requested points type option + count optionJ08nY2017-03-017-12/+78
|
* fixed leak in gens and pointsJ08nY2017-02-282-0/+10
|
* Added irreducibility check, equation_quit, gens_oneJ08nY2017-02-2810-14/+95
| | | | | | | - 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
* ecgen v0.3: some cleanup and version bumpJ08nY2017-02-194-15/+19
|