Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use explicit on more single-argument constructors | Jack Lloyd | 2017-09-30 | 14 | -20/+23 |
| | |||||
* | Avoid bogus declarations in GMAC | Jack Lloyd | 2017-09-30 | 1 | -25/+3 |
| | | | | | These functions are declared/defined on MessageAuthenticationCode, and call the start_msg virtual. | ||||
* | More fiddling with Sonar | Jack Lloyd | 2017-09-30 | 1 | -1/+1 |
| | |||||
* | Address some MSVC warnings | Jack Lloyd | 2017-09-30 | 8 | -135/+140 |
| | |||||
* | Use class instead of struct for objects with member functions | Jack Lloyd | 2017-09-30 | 14 | -157/+184 |
| | | | | Flagged by Sonar and quite reasonable | ||||
* | Attempt at fixing Sonar exclusions | Jack Lloyd | 2017-09-30 | 1 | -1/+2 |
| | |||||
* | Add annotation so GCC/Clang/MSVC know it is an allocation function. | Jack Lloyd | 2017-09-30 | 2 | -1/+12 |
| | |||||
* | Update news | Jack Lloyd | 2017-09-30 | 1 | -4/+8 |
| | |||||
* | Merge GH #1231 Hide secure_allocator allocate in a function | Jack Lloyd | 2017-09-30 | 5 | -22/+55 |
|\ | |||||
| * | Missing include, noticed by OS X | Jack Lloyd | 2017-09-29 | 1 | -0/+1 |
| | | |||||
| * | In secure_allocator, hide mlock/new usage in a function in mem_ops | Jack Lloyd | 2017-09-29 | 5 | -22/+54 |
| | | | | | | | | | | | | | | Switch to calloc/free instead of new/delete - shouldn't matter since we are only allocate integral types. This change reduces the size of libbotan-2.so by ~300 Kb on my system. | ||||
* | | Thinko fix | Jack Lloyd | 2017-09-30 | 1 | -1/+1 |
| | | |||||
* | | Compat typedef PBKDF -> S2K | Jack Lloyd | 2017-09-29 | 1 | -1/+12 |
|/ | | | | [ci skip] | ||||
* | Windows!!!!!!! | Jack Lloyd | 2017-09-29 | 1 | -1/+1 |
| | |||||
* | Work around some MSVC 2013 sillyness | Jack Lloyd | 2017-09-29 | 1 | -1/+3 |
| | |||||
* | Ensure files are closed before trying to remove it | Jack Lloyd | 2017-09-29 | 1 | -0/+4 |
| | | | | Windows ... | ||||
* | Avoid using std::rand in test code | Jack Lloyd | 2017-09-29 | 1 | -2/+4 |
| | | | | It makes static analyzers mad | ||||
* | Avoid throwing in pool allocator deallocation path | Jack Lloyd | 2017-09-29 | 1 | -8/+1 |
| | | | | | | std::terminate can ruin your day Coverity find | ||||
* | Check return value of std::remove in test | Jack Lloyd | 2017-09-29 | 1 | -2/+5 |
| | | | | Coverity find | ||||
* | Further Travis matrix fiddling | Jack Lloyd | 2017-09-29 | 1 | -3/+3 |
| | | | | | The fuzzer build is still in the critical path, everything else still finished before it. | ||||
* | Fiddle with Travis test ordering a bit | Jack Lloyd | 2017-09-29 | 1 | -6/+6 |
| | | | | | Having several long tests at the end means we end up not being able to make good use of Travis running 5 builds for us in parallel. | ||||
* | Fix test error if mceies disabled | Jack Lloyd | 2017-09-29 | 1 | -3/+5 |
| | | | | [ci skip] | ||||
* | Update news | Jack Lloyd | 2017-09-29 | 1 | -0/+8 |
| | |||||
* | Merge GH #1229 Simplify allocator and avoid MSVC perf issue | Jack Lloyd | 2017-09-29 | 1 | -37/+5 |
|\ | |||||
| * | Add back size_type typedef | Jack Lloyd | 2017-09-29 | 1 | -0/+1 |
| | | | | | | | | | | | | | | Lacking this seems to cause interesting issues with Apple Clang on 32-bit ARM. It seems like it implicitly defines a size_type that is the same size as size_t, but not actually size_t, so we get an unsigned long vs unsigned int mismatch on the type. | ||||
| * | Of course MSVC 2013 has to be special | Jack Lloyd | 2017-09-29 | 1 | -0/+7 |
| | | |||||
| * | Simplifiy secure_allocator | Jack Lloyd | 2017-09-29 | 1 | -44/+4 |
| | | | | | | | | | | | | | | | | | | According to https://howardhinnant.github.io/allocator_boilerplate.html we don't need most of what was in there in C++11 and later. I think I originally wrote that code referencing a C++03 doc. Specifically avoiding construct, destruct prevents a performance issue in MSVC (GH #1228) | ||||
* | | Doc updates | Jack Lloyd | 2017-09-29 | 1 | -3/+4 |
| | | |||||
* | | Avoid crash in DLIES tests if AEADs disabled | Jack Lloyd | 2017-09-29 | 1 | -0/+6 |
| | | |||||
* | | Remove sanitizer and mini-static builds from Travis | Jack Lloyd | 2017-09-29 | 1 | -6/+0 |
| | | | | | | | | | | | | | | | | | | | | Sanitizer mode isn't testing anything extra vs the fuzzer tests which also use the sanitizers. Similarly mini-static is pretty well covered by the other minimized build and the static build. Will cut about 7-10 minutes from Travis build time. | ||||
* | | Build test script | Jack Lloyd | 2017-09-29 | 1 | -3/+3 |
| | | | | | | | | [ci skip] | ||||
* | | Build script work | Jack Lloyd | 2017-09-29 | 1 | -11/+29 |
| | | | | | | | | [ci skip] | ||||
* | | Unused variable | Jack Lloyd | 2017-09-29 | 1 | -1/+1 |
| | | | | | | | | [ci skip] | ||||
* | | In TLS CBC padding check, only need to verify last 256 bytes | Jack Lloyd | 2017-09-29 | 2 | -10/+42 |
| | | | | | | | | | | No reason to scan the entire record since it's assured at most 256 bytes of padding are used. Inspired by GH #1227 | ||||
* | | More futzing with the build em all script | Jack Lloyd | 2017-09-29 | 1 | -31/+36 |
|/ | | | | [ci skip] | ||||
* | Add a test of TLS CBC padding verification | Jack Lloyd | 2017-09-29 | 4 | -9/+88 |
| | | | | See also GH #1227 | ||||
* | Include pk_keys.h in pkcs8.h and x509_key.h | Jack Lloyd | 2017-09-29 | 2 | -2/+2 |
| | | | | Not strictly required but seems likely to cause problems for applications. | ||||
* | Fix fuzzer build | Jack Lloyd | 2017-09-29 | 1 | -0/+1 |
| | |||||
* | Require HMAC for HKDF | Jack Lloyd | 2017-09-28 | 1 | -0/+4 |
| | | | | Not actually strictly required but in practice doesn't make much sense. | ||||
* | Fixes for MSVC | Jack Lloyd | 2017-09-28 | 2 | -2/+2 |
| | | | | BOTAN_UNUSED "uses" the RNG :/ | ||||
* | More build test scripting | Jack Lloyd | 2017-09-28 | 1 | -1/+5 |
| | | | | [ci skip] | ||||
* | Expand build test to also cover single-module exclusions | Jack Lloyd | 2017-09-28 | 1 | -9/+13 |
| | |||||
* | Further header cleanups | Jack Lloyd | 2017-09-28 | 30 | -23/+67 |
| | |||||
* | Add variants of PKCS8::load_key that don't require an RNG argument | Jack Lloyd | 2017-09-28 | 2 | -32/+112 |
| | | | | | It's not used and only there for compat with existing callers, but no reason we can't offer a version that doesn't require it. | ||||
* | Spelling | Jack Lloyd | 2017-09-28 | 1 | -5/+35 |
| | | | | [ci skip] | ||||
* | Disable clcache on AppVeyor | Jack Lloyd | 2017-09-28 | 2 | -19/+1 |
| | | | | | | AppVeyor's sharding of the build cache across VM providers means the effective cache hit rate is basically zero. So using clcache just slows down the build without much benefit. | ||||
* | Build the PDF | Jack Lloyd | 2017-09-28 | 1 | -19/+31 |
| | |||||
* | Rewrite website generator script in Python | Jack Lloyd | 2017-09-28 | 4 | -50/+144 |
| | |||||
* | Doxygen comment | Jack Lloyd | 2017-09-28 | 1 | -0/+6 |
| | | | | [ci skip] | ||||
* | Header cleanups | Jack Lloyd | 2017-09-28 | 5 | -5/+3 |
| |