Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | improve async ops | Hannes Rantzsch | 2019-04-16 | 6 | -66/+149 |
| | |||||
* | do not use make_error_code and smaller PR review issues | Tim Oesterreich | 2019-04-16 | 5 | -62/+63 |
| | |||||
* | review: use specific buffer type where applicable | Tim Oesterreich | 2019-04-16 | 5 | -25/+26 |
| | |||||
* | catch std::exception rather than (...) and exceptions as const | Hannes Rantzsch | 2019-04-16 | 4 | -32/+32 |
| | |||||
* | review: c'tors and handler type deduction in async ops | Hannes Rantzsch | 2019-04-16 | 4 | -114/+73 |
| | |||||
* | fix #6: write_some to buffer_sequence | Hannes Rantzsch | 2019-04-16 | 1 | -15/+25 |
| | |||||
* | FIX: reference to temporary | Hannes Rantzsch | 2019-04-16 | 1 | -1/+1 |
| | |||||
* | add documentation | René Meusel | 2019-04-16 | 2 | -10/+22 |
| | |||||
* | cleanup asio::ssl::stream compatibility interfaces | Hannes Rantzsch | 2019-04-16 | 2 | -77/+81 |
| | |||||
* | cleanup async ops | Hannes Rantzsch | 2019-04-16 | 3 | -9/+7 |
| | |||||
* | don't call async_write handler directly | Hannes Rantzsch | 2019-04-16 | 2 | -7/+8 |
| | |||||
* | FIX: add legal information | René Meusel | 2019-04-16 | 9 | -0/+72 |
| | |||||
* | rename member variables like 'm_***' | René Meusel | 2019-04-16 | 6 | -107/+108 |
| | |||||
* | move stream implemention into TLS namespace | René Meusel | 2019-04-16 | 8 | -54/+96 |
| | |||||
* | move stream implementation to tls subdir | René Meusel | 2019-04-16 | 10 | -0/+1139 |
| | |||||
* | Rename Integrity_Failure to Invalid_Authentication_Tag | Jack Lloyd | 2019-01-18 | 1 | -1/+1 |
| | | | | | | | | | This makes the meaning and usage more clear. Add a specific error type so invalid tags can be distinguished without having to catch that specific type. See also #1813 | ||||
* | Fix some warnings from PVS-Studio | Jack Lloyd | 2019-01-17 | 1 | -0/+3 |
| | | | | No real bugs, but pointed out some odd constructs and duplicated logic | ||||
* | Remove trailing whitespace | Jack Lloyd | 2019-01-13 | 2 | -17/+17 |
| | |||||
* | Fix more MSVC warnings | Jack Lloyd | 2018-12-10 | 1 | -3/+4 |
| | |||||
* | Fix some MSVC warnings | Jack Lloyd | 2018-12-10 | 2 | -5/+11 |
| | |||||
* | Silence MSVC warnings | Jack Lloyd | 2018-12-04 | 1 | -2/+4 |
| | | | | static_casts for the compiler god | ||||
* | Fix bug in TLS CBC unpadding | Jack Lloyd | 2018-12-03 | 1 | -1/+1 |
| | | | | | | Regression introduced in 007314c5 Found by OSS-Fuzz (bug id 11693) | ||||
* | Add CT::Mask type | Jack Lloyd | 2018-11-28 | 1 | -10/+10 |
| | |||||
* | Make exceptions easier to translate to error codes | Jack Lloyd | 2018-11-23 | 10 | -19/+28 |
| | | | | | | | | | | | Avoid throwing base Botan::Exception type, as it is difficult to determine what the error is in that case. Add Exception::error_code and Exception::error_type which allows (for error code) more information about the error and (for error type) allows knowing the error type without requiring a sequence of catches. See GH #1742 | ||||
* | Fix TLS version intolerance bug | Jack Lloyd | 2018-10-17 | 1 | -10/+10 |
| | | | | Fixes #1710 | ||||
* | Fix TLS signature algorithm intolerance | Jack Lloyd | 2018-10-16 | 3 | -17/+23 |
| | | | | GH #1708 | ||||
* | move instead of copy | rumcajs | 2018-10-14 | 1 | -2/+2 |
| | |||||
* | Fix more MSVC warnings | Jack Lloyd | 2018-10-01 | 1 | -2/+2 |
| | |||||
* | Remove unneeded load_on auto | Jack Lloyd | 2018-09-04 | 1 | -2/+0 |
| | | | | It is the default... | ||||
* | Default disable support for TLS v1.0/v1.1 and all CBC and CCM suites | Jack Lloyd | 2018-08-22 | 1 | -6/+6 |
| | |||||
* | Accept PKCS1v15 as an alias for EMSA3 | Jack Lloyd | 2018-08-02 | 1 | -2/+2 |
| | | | | Not sure why it didn't have this already | ||||
* | Correct Doxygen errors | Jack Lloyd | 2018-07-02 | 1 | -2/+2 |
| | |||||
* | TLS would try to negotiate x25519 even if disabled | Jack Lloyd | 2018-06-15 | 1 | -2/+6 |
| | | | | | | | | Also reorder ECC groups to actually match performance characteristics. I'm not sure when P-384 was slower than P-521 but it certainly isn't anymore. Fixes #1607 | ||||
* | Add 192-bit Suite B policy | Jack Lloyd | 2018-06-14 | 1 | -0/+36 |
| | | | | Since 128-bit policy is actually not even allowed since 2015. | ||||
* | Add message to BOTAN_ARG_CHECK and use it more widely | Jack Lloyd | 2018-05-13 | 1 | -0/+1 |
| | |||||
* | Slight refactoring to avoid GCC signed overflow warnings. [ci skip] | Jack Lloyd | 2018-05-08 | 1 | -4/+4 |
| | | | | Couldn't occur since length is 24 bits but GCC couldn't figure that out. | ||||
* | Fix some warnings new in GCC 8.1 | Jack Lloyd | 2018-05-07 | 6 | -43/+49 |
| | | | | | It thinks the typedefs are "locals" that are being conflicted with, which seems wrong to me but whatever. | ||||
* | Use bad_record_mac instead of decode_error for short TLS packets | Jack Lloyd | 2018-04-16 | 1 | -1/+8 |
| | | | | | Decode error seems more appropriate but it confuses some automated tools including older versions of TLS-Attacker. | ||||
* | Fix bug that broke session decryption (and thus resumption) | Jack Lloyd | 2018-04-09 | 1 | -1/+1 |
| | | | | Introduced in 3657639ab. Add a test that would have caught this | ||||
* | Fix off by one when decoding TLS-CBC ciphertexts | Jack Lloyd | 2018-04-09 | 3 | -27/+30 |
| | |||||
* | Fix interop bug in TLS server | Jack Lloyd | 2018-04-08 | 3 | -0/+33 |
| | | | | | The connection would fail if the client advertised any signature algorithm we did not support (eg RSA/SHA-224) | ||||
* | Add RAII versions of get_cipher_mode and get_aead | Jack Lloyd | 2018-04-07 | 2 | -4/+3 |
| | | | | See also #1526 | ||||
* | Export TLS::Extension | Jack Lloyd | 2018-03-31 | 1 | -1/+1 |
| | | | | Needed to avoid UbSan issue | ||||
* | Catch exceptions by reference not value | Jack Lloyd | 2018-03-16 | 1 | -1/+1 |
| | | | | Fixes a new warning in GCC 8 | ||||
* | Avoid std::bind in Channel::received_data | Jack Lloyd | 2018-03-05 | 1 | -2/+1 |
| | | | | | | Lambda works just as well here. GH #493 | ||||
* | Add missing overrides [ci skip] | Jack Lloyd | 2018-02-19 | 1 | -1/+1 |
| | |||||
* | Fix server use of EC point format extension | Jack Lloyd | 2018-02-13 | 1 | -1/+1 |
| | | | | | In the resumption case it would use that extension for any ECC ciphersuite, but is only allowed to do so if the client sent the extension. | ||||
* | Remove house curve support | Jack Lloyd | 2018-02-13 | 2 | -9/+0 |
| | |||||
* | Add a test of TLS handshake with custom curve (secp112r1 in this case) | Jack Lloyd | 2018-02-13 | 1 | -4/+21 |
| | |||||
* | Add callback for decoding TLS group params | Jack Lloyd | 2018-02-13 | 4 | -3/+20 |
| |