aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_dsa.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Remove another expensive keygen testJack Lloyd2017-10-011-1/+1
| | | | [ci skip]
* Add final annotations as appropriate in the test codeJack Lloyd2017-09-221-2/+2
|
* Reformat code with astyle + fix code styleTomasz Frydrych2017-05-011-12/+20
|
* Minor refactoring of Text_Based_TestJack Lloyd2016-12-191-2/+3
| | | | | | 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-8/+1
|
* Pubkey tests should express category [ci skip]René Korthaus2016-10-241-1/+1
|
* Add support probabilistic DSA & ECDSARené Korthaus2016-05-081-1/+6
| | | | | | | Adds support for probabilistic, aka the standard, DSA and ECDSA. Can be enabled by disabling the rfc6979 module. Includes test vectors from NIST CAVP. Adds rfc6979 to the list of prohibited modules in BSI policy.
* 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-50/+51
| | | | | | | | | | | 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-4/+6
| | | | 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
|
* Implement RFC 6979 determinstic signatures for DSA and ECDSA.lloyd2014-12-101-2/+2
| | | | | Drop the GNU MP engine. Its implementations were potentially faster in some scenarios but not well protected against side channels.
* More fixes for minified buildslloyd2014-02-091-2/+7
|
* Split up docs into the reference manual, the website, and everything else.lloyd2014-01-101-0/+57
| | | | | | | | | | | 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-57/+0
|
* Split up public key tests and data, use new test frameworklloyd2014-01-051-0/+57