aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Ignore the record version on alert messages.Jack Lloyd2019-07-121-18/+21
| | | | | | It is always better to report the alert value than reject it due to unexpected record version. In particular OpenSSL 1.1.1 sends an alert with a version we don't expect when the v1.3 downgrade indicator fires.
* Add TLS v1.3 downgrade indicatorJack Lloyd2019-07-125-3/+48
|
* Remove tab charsJack Lloyd2019-07-107-30/+28
| | | | Death to \t
* Avoid needless allocation during GMAC finalizationJack Lloyd2019-07-101-2/+2
|
* Set C++11 flags for PGIJack Lloyd2019-07-101-0/+2
|
* Fix Coverity issueJack Lloyd2019-07-101-3/+1
| | | | I think this is a false positive but whatever
* Fix shellcheck warningJack Lloyd2019-07-081-1/+1
|
* Remove another malloc+free per GCM message overheadJack Lloyd2019-07-051-3/+4
|
* Report parallism for AES when hardware is availableJack Lloyd2019-07-051-0/+14
|
* Avoid pointless writeJack Lloyd2019-07-051-1/+1
| | | | The last 4 bytes are always overwritten in this loop.
* Avoid allocations during GCM message processingJack Lloyd2019-07-054-23/+41
| | | | | On Skylake with 1024 byte buffer brings perf from 2.69 cpb to 2.2 cpb. And over 50% improvement for small messages.
* Merge GH #2022 Support 64-bit RDRAND on x86-64Jack Lloyd2019-07-051-3/+47
|\
| * Use 64-bit RDRAND on x86-64Jack Lloyd2019-07-051-3/+47
| | | | | | | | | | | | | | | | This doubles RDRAND performance on 64-bit systems. Based on a patch from Jeffrey Walton in #934 Closes #934
* | Merge GH #2023 Avoid needless allocation in OctetString default constructorJack Lloyd2019-07-051-2/+5
|\ \
| * | Skip allocation if OctetString is constructed with empty string.Tom2019-07-051-2/+5
| |/
* | Fix LGTM warningJack Lloyd2019-07-051-4/+2
| |
* | Disable noisy LGTM ruleJack Lloyd2019-07-051-1/+0
|/ | | | It doesn't interact well with SIMD instrinsics
* Merge GH #2021 TLS record layer cleanupsJack Lloyd2019-07-054-196/+173
|\
| * Avoid &v[v.size()]Jack Lloyd2019-07-051-2/+2
| | | | | | | | GCC 8 is ok with this but GCC 5's iterator checks don't like it.
| * Small cleanupJack Lloyd2019-07-051-12/+4
| |
| * Return the record metadata in a structJack Lloyd2019-07-054-122/+135
| | | | | | | | | | | | | | Avoids passing pointers down the call stack. Also add a second buffer to hold the record plaintext, which avoids an extra alloc+free per record.
| * Remove Record_Raw_InputJack Lloyd2019-07-043-43/+30
| |
| * Remove Record_Message structJack Lloyd2019-07-043-40/+25
| |
* | Merge GH #2020 Remove BearSSL providerJack Lloyd2019-07-058-445/+2
|\ \
| * | Remove BearSSL providerJack Lloyd2019-07-058-445/+2
| | | | | | | | | | | | | | | | | | BearSSL is much slower than Botan's builtins, and it is not commonly included in distributions so doesn't even have the advantage of ubiquity.
* | | Enable more LGTM alertsJack Lloyd2019-07-051-0/+23
|/ / | | | | | | GH #2012
* / tls cli sandbox freebsd update.David Carlier2019-07-051-0/+28
|/ | | | | Expanding on capsicum usage limiting those file descriptors to what they re supposed to do.
* Merge GH #2017 Add Android build to Travis CIJack Lloyd2019-07-046-4/+63
|\
| * Fix include for getentropyJack Lloyd2019-07-042-4/+5
| | | | | | | | Everyone but BSDs puts it in sys/random.h
| * CleanupsJack Lloyd2019-07-041-6/+4
| |
| * Android 28 has getentropy, test thisJack Lloyd2019-07-042-3/+8
| |
| * Build Android via NDKJack Lloyd2019-07-043-0/+55
| |
* | Merge GH #2016 Add Docker script to help end users build on AndroidJack Lloyd2019-07-042-0/+29
|\ \ | |/ |/|
| * Update the doc accordinglyDavid Carlier2019-07-041-3/+0
| |
| * Revert travis changes.David Carlier2019-07-041-18/+0
| |
| * Attempt to disable docker on osxDavid Carlier2019-07-042-8/+13
| |
| * Changes from feedbacksDavid Carlier2019-07-043-9/+15
| |
| * Attempt to add docker .travis buildDavid Carlier2019-07-042-0/+11
| |
| * Android docker build proposal.David Carlier2019-07-032-0/+28
| | | | | | | | | | Using external image just for the NDK and focusing on the two most popular architectures.
* | Enable more features in the LGTM build commandJack Lloyd2019-07-041-1/+1
|/
* Avoid use of __GNUG__ in headers that may be parsed by C compilersJack Lloyd2019-07-021-5/+5
| | | | Closes #2013
* Merge GH #2014 Fixes for Android buildJack Lloyd2019-07-021-1/+1
|\
| * Revert "Fix android build"Joerg-Christian Boehme2019-07-031-0/+1
| | | | | | | | This reverts commit d73aa2df5441108c199d2c2a3e1c86f24d8673d2.
| * makefile.in: move LDFLAGS after EXE_LINKS_TOJoerg-Christian Boehme2019-07-021-1/+1
| | | | | | Move LDFLAGS after EXE_LINKS_TO to allow the user to give additional libraries such as libc++-static.a otherwise static build will fail in android.
| * Fix android buildJoerg-Christian Boehme2019-07-021-1/+0
| | | | | | Remove -lrt, because it is not needed for android
* | Update version. Fix bugs in 2.11 changelogJack Lloyd2019-07-021-1/+1
|/
* Fix some MSVC and LGTM warningsJack Lloyd2019-06-2911-104/+132
|
* Merge GH #2010 Fix MSVC warningsJack Lloyd2019-06-2920-59/+65
|\
| * Fix various MSVC warningsJack Lloyd2019-06-2920-59/+65
| |
* | Fix some LGTM alertsJack Lloyd2019-06-293-10/+15
| |