Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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) | ||||
* | | 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. | ||||
* | 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 |
| | |||||
* | Merge GH #1224 Address side channel in Montgomery exponentiation | Jack Lloyd | 2017-09-28 | 6 | -36/+98 |
|\ | |||||
| * | Add valgrind annotations to check const_time_lookup | Jack Lloyd | 2017-09-26 | 1 | -0/+5 |
| | | |||||
| * | Use a side channel silent table look up in the Montgomery exponentiation | Jack Lloyd | 2017-09-25 | 6 | -36/+93 |
| | | |||||
* | | Make poly_dbl.h a submodule of utils | Jack Lloyd | 2017-09-27 | 9 | -2/+28 |
| | | | | | | | | | | 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-Label | Jack Lloyd | 2017-09-27 | 5 | -2/+124 |
|\ \ | |||||
| * | | Add HKDF-Expand-Label | Jack Lloyd | 2017-09-27 | 5 | -2/+124 |
| | | | | | | | | | | | | Step 1/n of TLS 1.3 | ||||
* | | | Remove OutputLen parameter from KDF test data | Jack Lloyd | 2017-09-27 | 12 | -1405/+3 |
|/ / | | | | | | | | | We already know how long the output should be, it should match the test vector :) | ||||
* | | Move the SecureVector typedef to secmem.h | Jack Lloyd | 2017-09-27 | 2 | -12/+3 |
| | | | | | | | | No point making someone include a deprecated header to get this. | ||||
* | | You can't have attributes on a template typedef, apparently. | Jack Lloyd | 2017-09-26 | 1 | -1/+0 |
| | | | | | | | | [ci skip] | ||||
* | | Add some more includes to botan.h | Jack Lloyd | 2017-09-26 | 1 | -10/+34 |
|/ | | | | | | This is basically just for Monotone [ci skip] | ||||
* | Add a GCD test | Jack Lloyd | 2017-09-25 | 3 | -0/+34 |
| | |||||
* | Improve test coverage slightly and correct macro | Jack Lloyd | 2017-09-25 | 1 | -8/+3 |
| | |||||
* | Fix for threadless builds | Jack Lloyd | 2017-09-25 | 1 | -0/+5 |
| | | | | [ci skip] | ||||
* | Share the _static dir between both Sphinx instances | Jack Lloyd | 2017-09-24 | 1 | -0/+2 |
| | | | | [ci skip] | ||||
* | Make it possible to build the website from outside src dir | Jack Lloyd | 2017-09-24 | 2 | -19/+30 |
| | | | | [ci skip] | ||||
* | Correct Doxygen error | Jack Lloyd | 2017-09-24 | 1 | -1/+0 |
| | | | | [ci skip] | ||||
* | Avoid debug iterator error | Jack Lloyd | 2017-09-24 | 1 | -6/+12 |
| | |||||
* | Missing include | Jack Lloyd | 2017-09-24 | 1 | -0/+1 |
| | |||||
* | Test SIV multi-AD function | Jack Lloyd | 2017-09-24 | 3 | -2/+104 |
| | |||||
* | Better tests for SIV | Jack Lloyd | 2017-09-24 | 8 | -51/+1686 |
| | | | | | | | | | | | | 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/ subdir | Jack Lloyd | 2017-09-24 | 3 | -2/+2 |
| | | | | [ci skip] | ||||
* | Move ocb test data to ocb/ subdir | Jack Lloyd | 2017-09-24 | 4 | -3/+3 |
| | | | | [ci skip] | ||||
* | Reindent [ci skip] | Jack Lloyd | 2017-09-24 | 1 | -1/+1 |
| | |||||
* | Add script that runs build+test across many configs, reports errors | Jack Lloyd | 2017-09-24 | 1 | -0/+88 |
| | |||||
* | Further build/test fixes for restricted configurations | Jack Lloyd | 2017-09-24 | 26 | -30/+158 |
| |