aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests
Commit message (Collapse)AuthorAgeFilesLines
* Remove protected data from Fixed_Output_RNG in test codeJack Lloyd2017-10-021-31/+15
|
* Avoid protected data member in TLS testsJack Lloyd2017-10-021-4/+5
|
* Remove redundant "virtual override" declarations.Jack Lloyd2017-10-021-2/+2
|
* Remove another expensive keygen testJack Lloyd2017-10-011-1/+1
| | | | [ci skip]
* Fix some cast warnings from SonarJack Lloyd2017-10-012-9/+12
|
* Use explicit :: or std:: to refer to functions in namespacesJack Lloyd2017-10-011-1/+1
|
* Remove 2048-bit keygen testsJack Lloyd2017-10-012-2/+2
| | | | Slow, and doesn't buy us much vs just the 1024 bit test.
* Address some MSVC warningsJack Lloyd2017-09-301-1/+1
|
* Windows!!!!!!!Jack Lloyd2017-09-291-1/+1
|
* Work around some MSVC 2013 sillynessJack Lloyd2017-09-291-1/+3
|
* Ensure files are closed before trying to remove itJack Lloyd2017-09-291-0/+4
| | | | Windows ...
* Avoid using std::rand in test codeJack Lloyd2017-09-291-2/+4
| | | | It makes static analyzers mad
* Check return value of std::remove in testJack Lloyd2017-09-291-2/+5
| | | | Coverity find
* Fix test error if mceies disabledJack Lloyd2017-09-291-3/+5
| | | | [ci skip]
* Avoid crash in DLIES tests if AEADs disabledJack Lloyd2017-09-291-0/+6
|
* Unused variableJack Lloyd2017-09-291-1/+1
| | | | [ci skip]
* In TLS CBC padding check, only need to verify last 256 bytesJack Lloyd2017-09-291-2/+26
| | | | | No reason to scan the entire record since it's assured at most 256 bytes of padding are used. Inspired by GH #1227
* Add a test of TLS CBC padding verificationJack Lloyd2017-09-292-0/+76
| | | | See also GH #1227
* Further header cleanupsJack Lloyd2017-09-2811-13/+35
|
* Make poly_dbl.h a submodule of utilsJack Lloyd2017-09-271-1/+8
| | | | | Only required by a few modules and if none of them are in use then the whole thing can just be skipped from the build.
* Merge GH #1226 Add HKDF-Expand-LabelJack Lloyd2017-09-272-0/+62
|\
| * Add HKDF-Expand-LabelJack Lloyd2017-09-272-0/+62
| | | | | | | | Step 1/n of TLS 1.3
* | Remove OutputLen parameter from KDF test dataJack Lloyd2017-09-2712-1405/+3
|/ | | | | We already know how long the output should be, it should match the test vector :)
* Add a GCD testJack Lloyd2017-09-253-0/+34
|
* Improve test coverage slightly and correct macroJack Lloyd2017-09-251-8/+3
|
* Fix for threadless buildsJack Lloyd2017-09-251-0/+5
| | | | [ci skip]
* Test SIV multi-AD functionJack Lloyd2017-09-242-0/+102
|
* Better tests for SIVJack Lloyd2017-09-242-12/+1631
| | | | | | | | | | | | Correct errors in the AEAD tests that assumed process/update always return something - that isn't true for SIV Minor optimizations in CMAC and CTR to cache the block size instead of making a zillion virtual calls for it. Generalize SIV slightly to where it could support a non-128 bit cipher, but don't pull the trigger on it since I can't find any implementations to crosscheck with.
* Move passhash9 and bcrypt tests to passhash/ subdirJack Lloyd2017-09-243-2/+2
| | | | [ci skip]
* Move ocb test data to ocb/ subdirJack Lloyd2017-09-244-3/+3
| | | | [ci skip]
* Further build/test fixes for restricted configurationsJack Lloyd2017-09-2415-28/+121
|
* Refactor how test RNG is createdJack Lloyd2017-09-241-81/+82
|
* Test fixesJack Lloyd2017-09-242-1/+4
|
* Additional test fixesJack Lloyd2017-09-231-8/+8
|
* Fix test compile error when filters is enabled but codec_filt is notRené Korthaus2017-09-231-1/+1
|
* Deprecate modification of Pipe objectsJack Lloyd2017-09-221-11/+23
| | | | | This is a feature that is hairy to implement and really makes application code confusing.
* Reject very small inputs to the package transformJack Lloyd2017-09-221-30/+32
| | | | Causes breakage - #825
* 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.
* Slight improvements to RNG testsJack Lloyd2017-09-221-3/+3
|
* Improve compression tests slightlyJack Lloyd2017-09-221-2/+14
| | | | | | Fix a bug that affected bzip2 - the bzip2 library does not like being called with avail_in == 0 and BZ_RUN, it returns PARAM_ERROR. Just return in that case and ignore the call.
* Test reading an invalid message number from a PipeJack Lloyd2017-09-221-0/+4
|
* Test a couple more functions of PKCS11_RNGJack Lloyd2017-09-221-1/+9
|
* Test a couple of SecureQueue functionsJack Lloyd2017-09-221-0/+4
|
* Avoid using namespace in testJack Lloyd2017-09-221-5/+3
|
* Add some tests of the test framework itselfJack Lloyd2017-09-221-0/+148
| | | | | | | | | Nothing more embarrasing than a test that fails but that doesn't get percolated up to an actual failure result due to a bug in the test code itself. (This happened a couple of times in the 1.10 test suite, and I've run into it on other projects as well...)
* Additional finalsJack Lloyd2017-09-221-3/+3
|
* Add final annotations as appropriate in the test codeJack Lloyd2017-09-2272-155/+155
|
* Remove some using declarations in test codeJack Lloyd2017-09-224-32/+30
|
* Add a test of Pipe io on Unix file descriptorsJack Lloyd2017-09-211-0/+37
|