aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* 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
| |
* | Fix some minimized build problemsJack Lloyd2019-06-292-3/+4
|/
* Merge GH #2009 Remove const from TLS OCSP callbackJack Lloyd2019-06-292-2/+5
|\
| * Make the TLS OCSP callback not const.Jack Lloyd2019-06-292-2/+5
| | | | | | | | | | As the impl may need to do side-effecting things in order to get the most recent response.
* | Merge GH #2008 Handle loss/retransmit of DTLS client helloJack Lloyd2019-06-291-1/+1
|\ \
| * | Handle DTLS client hello being lostJack Lloyd2019-06-291-1/+1
| |/ | | | | | | Closes #1691
* / Fix a warning when building under XLCJack Lloyd2019-06-291-1/+4
|/
* Add a comment explaining why this path is setJack Lloyd2019-06-291-0/+1
|
* Boost 1.70 compatibility in asio_stream unit testHannes Rantzsch2019-06-271-2/+18
|
* Change XMSS OIDs and feature macro nameJack Lloyd2019-06-236-13/+16
| | | | Since draft6 and final RFC are not compatible ...
* Use qualified-id for XMSS key size checkMatthias Gierlings2019-06-212-2/+2
| | | | | | Explicitly choose the correct size() method for the key size check during XMSS_PublicKey and XMSS_PrivateKey construction.
* FreeBSD using new mmap flags to protect against possible too wideDavid Carlier2019-06-211-1/+5
| | | | promotions.
* Merge GH #2000 Add RFC 8032 compatible Ed25519phJack Lloyd2019-06-206-22/+66
|\
| * Add support for RFC 8032 Ed25519phJack Lloyd2019-06-206-22/+66
| | | | | | | | GH #1699
* | Fix lgtm findingJack Lloyd2019-06-201-2/+4
|/
* Fix conflict when BMI2 is enabled and --single-amalgamation-fileJack Lloyd2019-06-191-3/+3
| | | | Not sure why this wasn't causing an error in the MSVC CI builds.
* Fix some LGTM issuesJack Lloyd2019-06-1912-18/+32
|
* Add support for HelloVerifyRequest on server sideJack Lloyd2019-06-1811-10/+112
| | | | Closes GH #1833
* Cleanup shim logicJack Lloyd2019-06-181-3/+7
|
* Rename os features scriptJack Lloyd2019-06-161-7/+2
|
* clock_gettime supported by mac since 10.12David Carlier2019-06-161-0/+1
|
* Fix allocation. Add more tests.Jack Lloyd2019-06-152-1/+68
|
* Add a compatability shim for libsodiumJack Lloyd2019-06-1513-5/+3244
| | | | | Not complete, just trying to hit the most commonly used APIs plus the ones that are easy to do.
* Fix more MSVC warningsJack Lloyd2019-06-144-22/+22
|
* Resolve some MSVC warningsJack Lloyd2019-06-146-10/+10
|
* Merge GH #1995 Allow setting max OCSP response age during verificationJack Lloyd2019-06-143-22/+226
|\
| * add option to specify ocsp max agePatrick Schmidt2019-06-143-22/+226
| |
* | Merge GH #1992 Allow overriding cert verify in TLS::StreamJack Lloyd2019-06-143-62/+189
|\ \ | |/ |/|
| * TLS::Context holds references rather than pointersHannes Rantzsch2019-06-133-84/+94
| | | | | | | | | | | | | | | | Parameters passed from TLS::Context to TLS::Client for initialization are now held as references in the context. Ownership of these members is thereby explicitly left with the user. Co-authored-by: Tim Oesterreich <[email protected]>
| * Update comments as suggested per reviewHannes Rantzsch2019-06-042-9/+14
| | | | | | | | Co-Authored-By: RenĂ© Meusel <[email protected]>
| * Refactor: template meta-programming to reuse the callback signatureRené Meusel2019-06-031-7/+16
| |
| * Use TLS::Context::verifyCallback as tls_verify_cert_chain callbackHannes Rantzsch2019-06-031-22/+62
| | | | | | | | | | | | | | | | | | StreamCore uses the user-provided verify callback as a tls_verify_cert_chain if any is provided to the Context. Stream allows configuring the context as well using Stream::set_verify_callback. Stream now keeps a reference to the Context, rather than copying it. This allows users to configure the Context after constructing the Stream, but requires them to manage its lifetime.
| * allow setting a verify_callback in TLS::ContextHannes Rantzsch2019-06-032-31/+94
| | | | | | | | | | This will allow customizing the tls_verify_cert_chain callback for TLS::Stream. TLS::Context is now a class and its members are protected.
* | Merge GH #1994 Deprecate headersJack Lloyd2019-06-0830-693/+598
|\ \
| * | Officially deprecate headersJack Lloyd2019-06-0730-693/+598
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Create BOTAN_DEPRECATED_HEADER so we can warn about this consistently. Shuffle around the filter headers so all of the concrete filters are defined in filters.h instead of being spread across many headers. Document which headers are deprecated as well as a list of headers which will be made internal-only in a future major release.
* | | Prevent exception from taking down entire test scriptJack Lloyd2019-06-081-1/+5
|/ /
* | Log the configure command line in the makefileJack Lloyd2019-06-071-0/+3
| | | | | | | | Sometimes useful for debugging
* | Remove debug printJack Lloyd2019-06-051-1/+0
| |
* | Add a test that Theaad_Pool is tolerant of exceptions during tasksJack Lloyd2019-06-051-3/+21
| |
* | Lint fixesJack Lloyd2019-06-052-5/+6
| |
* | Merge GH #1979 Fix PKCS11 buffer output sizingJack Lloyd2019-06-052-13/+30
|\ \
| * | Fix PKCS#11 C_SignFinal output size.Daniel Wyatt2019-05-271-1/+6
| | |
| * | Fix PKCS#11 C_Sign output size.Daniel Wyatt2019-05-271-2/+7
| | |
| * | Fix PKCS#11 C_Encrypt output size.Daniel Wyatt2019-05-271-2/+7
| | |
| * | Fix PKCS#11 C_Decrypt buffer output size.Daniel Wyatt2019-05-262-8/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Section 5.2 of the spec states that there are two ways to call functions that return a variable-length buffer: 1. When the output buffer is NULL, an estimated size is returned (which may be larger than required). 2. When the output buffer is not NULL, the exact size must be returned. So only after the second call to C_Decrypt has the final output size been determined, and we must resize the output buffer.
* | | Add __hash__ for MPIJack Lloyd2019-06-031-0/+3
| | |
* | | Address some issues found by LGTMJack Lloyd2019-06-036-11/+16
| |/ |/|
* | Add build step for LGTM [ci skip]Jack Lloyd2019-06-031-0/+6
| |