Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Additional test fixes | Jack Lloyd | 2017-09-23 | 1 | -8/+8 |
| | |||||
* | Fix test compile error when filters is enabled but codec_filt is not | René Korthaus | 2017-09-23 | 1 | -1/+1 |
| | |||||
* | Deprecate modification of Pipe objects | Jack Lloyd | 2017-09-22 | 1 | -11/+23 |
| | | | | | This is a feature that is hairy to implement and really makes application code confusing. | ||||
* | Reject very small inputs to the package transform | Jack Lloyd | 2017-09-22 | 1 | -30/+32 |
| | | | | Causes breakage - #825 | ||||
* | Update cryptobox decryption | Jack Lloyd | 2017-09-22 | 1 | -5/+21 |
| | |||||
* | Cryptobox code modernization | Jack Lloyd | 2017-09-22 | 1 | -22/+20 |
| | | | | Only encrypt so it's easy to verify everything still works. | ||||
* | Slight improvements to RNG tests | Jack Lloyd | 2017-09-22 | 1 | -3/+3 |
| | |||||
* | Improve compression tests slightly | Jack Lloyd | 2017-09-22 | 1 | -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 Pipe | Jack Lloyd | 2017-09-22 | 1 | -0/+4 |
| | |||||
* | Test a couple more functions of PKCS11_RNG | Jack Lloyd | 2017-09-22 | 1 | -1/+9 |
| | |||||
* | Test a couple of SecureQueue functions | Jack Lloyd | 2017-09-22 | 1 | -0/+4 |
| | |||||
* | Avoid using namespace in test | Jack Lloyd | 2017-09-22 | 1 | -5/+3 |
| | |||||
* | Add some tests of the test framework itself | Jack Lloyd | 2017-09-22 | 1 | -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 finals | Jack Lloyd | 2017-09-22 | 1 | -3/+3 |
| | |||||
* | Add final annotations as appropriate in the test code | Jack Lloyd | 2017-09-22 | 72 | -155/+155 |
| | |||||
* | Remove some using declarations in test code | Jack Lloyd | 2017-09-22 | 4 | -32/+30 |
| | |||||
* | Add a test of Pipe io on Unix file descriptors | Jack Lloyd | 2017-09-21 | 1 | -0/+37 |
| | |||||
* | More include header cleanups | Jack Lloyd | 2017-09-21 | 20 | -33/+10 |
| | |||||
* | Header file cleanups | Jack Lloyd | 2017-09-21 | 4 | -0/+4 |
| | | | | Some help from include-what-you-use | ||||
* | Fix the SM2 FFI test | Jack Lloyd | 2017-09-21 | 1 | -3/+4 |
| | |||||
* | Update SM2 to use ASN.1 encoding for ciphertexts | Jack Lloyd | 2017-09-20 | 3 | -5/+39 |
| | | | | | | | | | There are in fact 3 different variations of SM2 standard, first C1||C2||C3, then C1||C3||C2, then (most recently) an ASN.1 encoding. This makes us compatible with GmSSL This work was sponsored by Ribose Inc (@riboseinc). | ||||
* | Merge GH #1212 Add support for 'raw' PSS signatures | Jack Lloyd | 2017-09-20 | 7 | -140/+803 |
|\ | |||||
| * | Support PSSR_Raw | Jack Lloyd | 2017-09-16 | 7 | -140/+803 |
| | | | | | | | | | | | | | | Allows PSS-signing a raw hash while also still specifying the salt length. GH #1211 | ||||
* | | Change header guard format to BOTAN_FOO_H_ | Jack Lloyd | 2017-09-20 | 4 | -8/+8 |
| | | | | | | | | | | | | ISO C++ reserves names with double underscores in them Closes #512 | ||||
* | | Reorder calls to avoid UBSan false positive | Jack Lloyd | 2017-09-20 | 1 | -3/+4 |
| | | | | | | | | Or that's what I assume it is since reordering makes it go away. | ||||
* | | Another memory leak fix | Jack Lloyd | 2017-09-20 | 1 | -2/+4 |
| | | |||||
* | | At end of fork test, exec /bin/true to avoid valgrind false positive. | Jack Lloyd | 2017-09-20 | 1 | -1/+8 |
| | | |||||
* | | Fix leaks in FFI tests | Jack Lloyd | 2017-09-20 | 1 | -0/+6 |
| | | |||||
* | | Avoid deprecation warnings in test | Jack Lloyd | 2017-09-20 | 1 | -2/+2 |
| | | |||||
* | | Add missing override | Jack Lloyd | 2017-09-20 | 1 | -1/+4 |
| | | |||||
* | | Merge GH #1215 Deprecate package transform | Jack Lloyd | 2017-09-19 | 1 | -1/+5 |
|\ \ | |||||
| * | | Deprecate package transform | Jack Lloyd | 2017-09-19 | 1 | -0/+2 |
| | | | | | | | | | | | | | | | Unclear what's up with #825 but in any case this function is funky and I don't care enough to try to debug/fix it... | ||||
| * | | Disable broken package transform test | Jack Lloyd | 2017-09-19 | 1 | -1/+3 |
| | | | | | | | | | | | | See GH #825 | ||||
* | | | Add basic tests for const time utils | Jack Lloyd | 2017-09-19 | 3 | -0/+41 |
|/ / | | | | | | | Remove CT::min and CT::max which were unused and it turns out, broken. | ||||
* | | Merge GH #1205 Support large blocks in OCB mode | Jack Lloyd | 2017-09-19 | 5 | -1/+345 |
|\ \ | |/ |/| | |||||
| * | Change wide block OCB | Jack Lloyd | 2017-09-15 | 5 | -19/+94 |
| | | | | | | | | | | Ted Krovetz confirmed there were bugs in the reference code for blocks > 128 bits so these values should be the correct ones. | ||||
| * | Fix bugs in OCB long test | Jack Lloyd | 2017-09-11 | 1 | -5/+7 |
| | | |||||
| * | Support larger block sizes in OCB | Jack Lloyd | 2017-09-10 | 4 | -0/+267 |
| | | | | | | | | | | | | This doesn't match the draft-3 test vectors and may be bogus. [ci skip] | ||||
* | | Merge duplicated logic for clearing CPUID bits | Jack Lloyd | 2017-09-16 | 1 | -40/+1 |
| | | |||||
* | | Update Wycheproof GCM tests | Jack Lloyd | 2017-09-15 | 1 | -6/+38 |
| | | |||||
* | | some formatting | Atanas Filyanov | 2017-09-15 | 1 | -1/+5 |
| | | |||||
* | | reenable 8 byte gcm tags | Atanas Filyanov | 2017-09-15 | 1 | -0/+9 |
| | | |||||
* | | Allow GCM tag size in the range 96..128 bits | Atanas Filyanov | 2017-09-14 | 1 | -15/+43 |
| | | |||||
* | | Merge GH #1208 Fix decoding of RFC 5915 ECC keys | Jack Lloyd | 2017-09-13 | 2 | -2/+31 |
|\ \ | |||||
| * | | Remove inner/outer OID check in EC_PrivateKey ctor | René Korthaus | 2017-09-13 | 2 | -2/+31 |
| | | | | | | | | | | | | | | | | | | | | | | | | RFC 5915 mandates that the OID of an ECDSA ECPrivateKey shall be id-ecPublicKey with the named curve as the parameters. ECPrivateKey may contain the named curve OID, too, which is compared to id-ecPublicKey. Such keys could not be loaded. We remove this check and add a test vector from strongswan. | ||||
* | | | allow 12 byte GCM tags and add test vectors | Atanas Filyanov | 2017-09-13 | 1 | -0/+48 |
|/ / | |||||
* | | Reference the right pipe | Jack Lloyd | 2017-09-11 | 1 | -1/+1 |
| | | | | | | | | This didn't affect the results [ci skip] | ||||
* | | Merge GH #1202 Fix CFB IV carryover closes #1200 | Jack Lloyd | 2017-09-11 | 1 | -0/+71 |
|\ \ | |/ |/| | |||||
| * | Address CFB carryover bug | Jack Lloyd | 2017-09-10 | 1 | -0/+71 |
| | | | | | | | | | | | | Test data generated by 1.10 so hopefully no further issues here. GH #1200 | ||||
* | | Change SM2 encryption to match updated standard. | Jack Lloyd | 2017-09-10 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | Unfortunately it seems the SM2 format changed between 2010 and 2012, now the ciphertext is C1 || C3 || C2. Unfortunate no matter how you slice it, but at least it's easy to convert from one form to another. |