aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/unit_ecdh.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix ECDH testJack Lloyd2016-12-221-13/+10
|
* Remove Algo_Registry usage from public key code.Jack Lloyd2016-10-071-2/+2
| | | | | | | | Instead the key types exposes operations like `create_encryption_op` which will return the relevant operation if the algorithm supports it. Changes pubkey.h interface, now RNG is passed at init time. Blinder previous created its own RNG, now it takes it from app.
* fix test failures and seg faults when Botan is configured with ↵René Korthaus2016-06-171-12/+18
| | | | --module-policy bsi
* Update and consolidate the test framework.Jack Lloyd2015-11-111-108/+41
| | | | | | | | | | | 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.
* Replace \n by std::endl in tests to ensure proper flushingSimon Warta2015-06-191-5/+5
| | | | | | | - Remove additional newlines in CHECK_MESSAGE call - Remove redundant output of algo in aead_test() Closes #115
* Ensure all files have copyright and license info.lloyd2015-01-101-1/+1
| | | | | 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
|
* Fix minimized builds. Patch by Markus Wanner sent to botan-devellloyd2014-02-081-0/+9
|
* Split up public key tests and data, use new test frameworklloyd2014-01-051-0/+132