aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_cryptobox.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Tag all tests with a categoryJack Lloyd2020-10-281-1/+1
|
* Create proper KATs for cryptobox functionJack Lloyd2018-09-121-42/+42
|
* Catch exceptions by reference not valueJack Lloyd2018-03-161-2/+2
| | | | Fixes a new warning in GCC 8
* Remove various unused variablesJack Lloyd2017-10-021-1/+1
| | | | Sonar finds
* Update cryptobox decryptionJack Lloyd2017-09-221-5/+21
|
* Cryptobox code modernizationJack Lloyd2017-09-221-22/+20
| | | | Only encrypt so it's easy to verify everything still works.
* Add final annotations as appropriate in the test codeJack Lloyd2017-09-221-1/+1
|
* Reformat code with astyle + fix code styleTomasz Frydrych2017-05-011-4/+4
|
* Convert to using standard uintN_t integer typesJack Lloyd2016-12-181-3/+3
| | | | | | Renames a couple of functions for somewhat better name consistency, eg make_u32bit becomes make_uint32. The old typedefs remain for now since probably lots of application code uses them.
* Update and consolidate the test framework.Jack Lloyd2015-11-111-32/+43
| | | | | | | | | | | 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.
* tests: Convert &vec[0] to vec.data()Simon Warta2015-06-301-1/+1
|
* Replace \n by std::endl in tests to ensure proper flushingSimon Warta2015-06-191-1/+1
| | | | | | | - 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/+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
|
* Split up docs into the reference manual, the website, and everything else.lloyd2014-01-101-0/+45
| | | | | | | | | | | 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-45/+0
|
* Shuffle things around. Add NIST X.509 test to build.lloyd2014-01-011-0/+45