Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Simplify exception messages | Jack Lloyd | 2018-08-22 | 1 | -2/+2 |
| | | | | Remove "Invalid argument" and "Decoding Error" prefixes | ||||
* | Make the tests VarMap an actual type instead of a hashmap typedef. | Jack Lloyd | 2018-05-29 | 1 | -12/+12 |
| | |||||
* | Remove 2048-bit keygen tests | Jack Lloyd | 2017-10-01 | 1 | -1/+1 |
| | | | | Slow, and doesn't buy us much vs just the 1024 bit test. | ||||
* | Avoid using namespace in test | Jack Lloyd | 2017-09-22 | 1 | -5/+3 |
| | |||||
* | Add final annotations as appropriate in the test code | Jack Lloyd | 2017-09-22 | 1 | -3/+3 |
| | |||||
* | Reformat code with astyle + fix code style | Tomasz Frydrych | 2017-05-01 | 1 | -14/+26 |
| | |||||
* | Convert DH invalid key test to read from file | Jack Lloyd | 2017-01-02 | 1 | -41/+30 |
| | |||||
* | Add test vectors for public key checks from NIST CAVP | René Korthaus | 2017-01-02 | 1 | -0/+39 |
| | |||||
* | Load q for DH public key in tests | René Korthaus | 2017-01-02 | 1 | -1/+11 |
| | |||||
* | Add positive DH test vectors from NIST CAVP | René Korthaus | 2017-01-02 | 1 | -2/+11 |
| | |||||
* | Minor refactoring of Text_Based_Test | Jack Lloyd | 2016-12-19 | 1 | -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 API | Jack Lloyd | 2016-10-31 | 1 | -8/+1 |
| | |||||
* | Remove Algo_Registry usage from public key code. | Jack Lloyd | 2016-10-07 | 1 | -1/+1 |
| | | | | | | | | 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. | ||||
* | Add negative tests with invalid inputs for the DH key agreement operation | Daniel Neus | 2016-07-26 | 1 | -1/+33 |
| | |||||
* | Add ECDH tests | Jack Lloyd | 2016-01-03 | 1 | -2/+2 |
| | | | | Only has vectors for NIST curves (data taken from NIST CAVS file) | ||||
* | Another Clang warning | Jack Lloyd | 2015-12-25 | 1 | -1/+1 |
| | |||||
* | Add --data-dir option to test command | Jack Lloyd | 2015-12-20 | 1 | -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 Lloyd | 2015-11-11 | 1 | -52/+58 |
| | | | | | | | | | | | 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_DIR | Simon Warta | 2015-07-15 | 1 | -1/+1 |
| | |||||
* | Make Botan compile when only some modules are enabled | Simon Warta | 2015-07-03 | 1 | -4/+7 |
| | | | | Fixes #146. | ||||
* | Ensure all files have copyright and license info. | lloyd | 2015-01-10 | 1 | -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 available | lloyd | 2014-12-28 | 1 | -2/+2 |
| | |||||
* | More fixes for minified builds | lloyd | 2014-02-09 | 1 | -2/+6 |
| | |||||
* | Split up docs into the reference manual, the website, and everything else. | lloyd | 2014-01-10 | 1 | -0/+60 |
| | | | | | | | | | | | 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 sources | lloyd | 2014-01-07 | 1 | -60/+0 |
| | |||||
* | Split up public key tests and data, use new test framework | lloyd | 2014-01-05 | 1 | -0/+60 |