summaryrefslogtreecommitdiff
path: root/test/src
Commit message (Collapse)AuthorAgeFilesLines
* Refactor point generation tests.J08nY2018-03-032-111/+121
|
* Rewrite generator and point generation code.J08nY2018-03-037-397/+167
|
* Add tests for Koblitz order store.J08nY2018-02-272-3/+36
|
* Fix Valgrind warnings about timeout struct allocations.J08nY2018-02-031-1/+6
| | | | | | - Make them dynamically allocated, per thread, not on stack. - Also fix a small invalid read of deallocated generator point.
* Compute twist order, as it is obviously known.J08nY2018-01-191-3/+6
|
* Add a set of Koblitz curves to be searched to speedup order computation.J08nY2018-01-191-7/+5
| | | | | | - There is not a lot of Koblitz curves out there, so they can be easily enumerated for the interesting field sizes and their orders computed offline.
* Add some more basic tests for coverage.J08nY2018-01-186-0/+168
|
* Add curve twists to CLI and update options in README.J08nY2018-01-181-9/+10
|
* Add utilities to create random curve twists.J08nY2018-01-181-0/+48
|
* Fix running out of stack in embedding degree computation.J08nY2017-12-201-6/+24
| | | | - It is a simple Fp_order computation, why the dumb algo? :D
* Only do a short test on Travis.J08nY2017-12-181-1/+6
|
* Make Travis wait for the slow unittests.J08nY2017-12-171-1/+1
|
* Do not skip Brainpool RFC tests.J08nY2017-12-172-2/+1
|
* Add seadata to Travis.feature/brainpool-algoJ08nY2017-12-172-2/+2
|
* Skip Brainpool RFC tests.J08nY2017-12-171-1/+1
|
* Fix gens_get_embedding and brainpool RFC generation.J08nY2017-12-172-3/+6
| | | | | - The Brainpool RFC generation still uses way too much stack, so it is likely leaking it somewhere, but not sure where.
* Allow larger PARI stack for tests.J08nY2017-12-171-1/+1
|
* Fix some errors in brainpool rfc generation (4/7 RFC curves pass).J08nY2017-12-173-24/+80
|
* Fix brainpool(+RFC) generation of primes.J08nY2017-12-153-5/+175
|
* Add basis of brainpool RFC generation (equation part).J08nY2017-12-142-3/+5
|
* Fix brainpool hashing algo.J08nY2017-12-131-0/+15
|
* Add tests for brainpool generation, and fix it.J08nY2017-12-134-15/+107
|
* Fix unit tests failing wih DDEBUG.J08nY2017-12-131-1/+5
|
* Implement base of brainpool algo.J08nY2017-12-133-10/+28
|
* Add bits_from_i_len util function.J08nY2017-11-081-0/+11
|
* Cleanup the CLI options parsing and enums a bit.J08nY2017-10-191-6/+0
|
* Add check_f for a string in the hex expansion of a curve param.J08nY2017-10-172-1/+139
|
* Cleanup includes and test setup/teardown.J08nY2017-10-172-32/+4
|
* Add tests for order.c.J08nY2017-10-172-3/+100
|
* Add several check_fs for standard security requirements.J08nY2017-10-175-16/+165
| | | | | | - Check for trace one(anomalous) curve, check for multiplicative transfer(embedding degree), factors of generator order and cm discriminant.
* Add tests for field.c.J08nY2017-10-152-4/+205
|
* Add tests for equation.c.J08nY2017-10-151-0/+118
|
* Format and update README.J08nY2017-10-146-67/+120
|
* Make config_t *cfg a global variable.J08nY2017-10-148-104/+71
| | | | | | 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.
* Fix travis releasing a binary wit coverage.J08nY2017-10-041-3/+5
|
* Add tests for timeout option.J08nY2017-10-041-0/+10
|
* Add tests for gp interpretation check_f.J08nY2017-10-031-8/+113
|
* Add GP code interpretation as a gen_f option.J08nY2017-09-301-0/+109
|
* Add "offset_e state" param to gen_f and check_f.J08nY2017-09-302-15/+15
|
* Format tests and cleanup includes.J08nY2017-09-196-21/+34
|
* Move some files into src/misc.J08nY2017-09-194-4/+4
|
* Fix a segfault in ANSI generation, fix ISO C initializer braces.J08nY2017-09-191-1/+0
|
* Implement a,b generation for ANSI X9.62 algo, Fp version.J08nY2017-09-191-2/+15
|
* Fix ANSI X9.62 binary field generation method.J08nY2017-09-191-4/+7
|
* Fix some of the issues with ANSI X9.62 f2m equation generation.J08nY2017-09-171-6/+9
|
* Move some stuff from general seed_t handling in gen/seed.[ch] to ↵J08nY2017-09-172-165/+268
| | | | exhaustive/ansi.[ch].
* Add parameterized tests for bits_sha1.J08nY2017-09-174-8/+66
|
* Add example data from ANSI X9.62 for prime field case.J08nY2017-09-171-0/+72
|
* Implement W/b computation for ANSI X9.62.J08nY2017-09-171-2/+2
|
* Add concat functions to bits_t.J08nY2017-09-171-115/+132
|