aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_elg.cpp
Commit message (Collapse)AuthorAgeFilesLines
* New sizes for DL exponentsJack Lloyd2020-12-141-63/+0
| | | | | | Avoid using a formula for this and instead just bucket into a few very rough sizes. In all cases (except very large keys) this results in using a somewhat larger exponent.
* Tag all tests with a categoryJack Lloyd2020-10-281-2/+2
|
* Make the tests VarMap an actual type instead of a hashmap typedef.Jack Lloyd2018-05-291-3/+3
|
* Remove 2048-bit keygen testsJack Lloyd2017-10-011-1/+1
| | | | Slow, and doesn't buy us much vs just the 1024 bit test.
* Add final annotations as appropriate in the test codeJack Lloyd2017-09-221-2/+2
|
* Reformat code with astyle + fix code styleTomasz Frydrych2017-05-011-10/+16
|
* Minor refactoring of Text_Based_TestJack Lloyd2016-12-191-2/+2
| | | | | | Turns out astyle has some bugs wrt C++11 initialize lists. Rather than having astyle mangle all of the tests, convert to using a string which is split once at the start instead of a vector of keys.
* Test PK key creation via create_private_key APIJack Lloyd2016-10-311-9/+1
|
* Pubkey tests should express category [ci skip]René Korthaus2016-10-241-1/+1
|
* Add --data-dir option to test commandJack Lloyd2015-12-201-1/+1
| | | | | | | Understand using '-' on the command line to mean stdin Fix last few unit tests that wanted to write to the filesystem; removes outdata directory.
* Update and consolidate the test framework.Jack Lloyd2015-11-111-53/+44
| | | | | | | | | | | The tests previously had used 4 to 6 different schemes internally (the vec file reader framework, Catch, the old InSiTo Boost.Test tests, the PK/BigInt tests which escaped the rewrite in 1.11.7, plus a number of one-offs). Converge on a design that works everywhere, and update all the things. Fix also a few bugs found by the test changes: SHA-512-256 name incorrect, OpenSSL RC4 name incorrect, signature of FFI function botan_pubkey_destroy was wrong.
* Fix TEST_DATA_DIRSimon Warta2015-07-151-1/+1
|
* Make Botan compile when only some modules are enabledSimon Warta2015-07-031-12/+12
| | | | Fixes #146.
* Ensure all files have copyright and license info.lloyd2015-01-101-0/+6
| | | | | Update license header line to specify the terms and refer to the file, neither of which it included before.
* All tests now share an RNG. Uses system RNG if availablelloyd2014-12-281-2/+2
|
* More fixes for minified buildslloyd2014-02-091-9/+10
|
* Split up docs into the reference manual, the website, and everything else.lloyd2014-01-101-0/+67
| | | | | | | | | | | Add `website` target to makefile. Some progress towards fixing minimized builds. TLS now hard requires ECDSA and GCM since otherwise a minimized build has only insecure options. Remove boost_thread dependency in command line tool
* Rename test sourceslloyd2014-01-071-60/+0
|
* Split up public key tests and data, use new test frameworklloyd2014-01-051-0/+60