Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Shuffle things around. Add NIST X.509 test to build. | lloyd | 2014-01-01 | 57 | -11634/+0 |
| | |||||
* | Move add_alias and deref_alias from Library_State to SCAN_Name | lloyd | 2013-12-25 | 2 | -3/+3 |
| | |||||
* | Remove global_rng calls for setting up blinding, instead require a RNG | lloyd | 2013-12-25 | 1 | -0/+4 |
| | | | | | | be passed to the engine. Currently pubkey.cpp just passes along the global_rng but eventually we'll break this API and require a RNG to the constructor. | ||||
* | Have default TLS policy reject SSLv3. Add TLS::Policy::acceptable_ciphersuite | lloyd | 2013-12-10 | 2 | -7/+18 |
| | | | | | to allow either party to filter out specific ciphersuites they don't wish to support for whatever reason. | ||||
* | Support the normal names for CCM in TLS policy config | lloyd | 2013-12-04 | 2 | -28/+18 |
| | |||||
* | Disable RC4 in TLS by default | lloyd | 2013-11-29 | 1 | -1/+1 |
| | |||||
* | Give everything setting a feature test macro in build.h a version code | lloyd | 2013-11-28 | 2 | -2/+2 |
| | | | | | | so application code can check for the specific API it expects without having to keep track of what versions APIs x,y,z changed. Arbitrarily set all current API versions to 20131128. | ||||
* | wget it ourselves, and include the hash of the file in the output | lloyd | 2013-11-28 | 1 | -1/+2 |
| | |||||
* | Fix file rename in info.txt and add a check for this in configure | lloyd | 2013-11-28 | 1 | -1/+1 |
| | |||||
* | TLS in-memory session manager now requires a rng object as a | lloyd | 2013-11-28 | 2 | -5/+7 |
| | | | | | constructor argument, previously it used the global rng which caused a serialization point across server threads. | ||||
* | Add a basic DTLS policy | lloyd | 2013-11-20 | 1 | -0/+13 |
| | |||||
* | Return a value | lloyd | 2013-11-09 | 1 | -1/+1 |
| | |||||
* | Split TLS callbacks into a data callback and an alert callback. | lloyd | 2013-11-05 | 8 | -37/+61 |
| | | | | | In practice applications treated these two cases completely differently, so there was no reason to combine them into a single callback. | ||||
* | Simplify AD processing in non-AEAD case | lloyd | 2013-09-08 | 1 | -22/+12 |
| | |||||
* | Add Brainpool curves to TLS, and prefer them by default. | lloyd | 2013-09-08 | 2 | -0/+15 |
| | | | | Remove 224-bit NIST curve from default parameter list. | ||||
* | Remove Record struct | lloyd | 2013-09-07 | 5 | -196/+120 |
| | |||||
* | Don't pass Record struct to handshake parser | lloyd | 2013-09-06 | 3 | -14/+22 |
| | |||||
* | Enable CCM ciphersuites in TLS. Disable SHA-1 for signatures in TLS v1.2 | lloyd | 2013-09-06 | 2 | -5/+57 |
| | |||||
* | Correct Ciphersuite::valid and to_string for CCM | lloyd | 2013-09-05 | 1 | -1/+11 |
| | |||||
* | Add Cipher_Mode intermediate class. Add missing BOTAN_DLL exports | lloyd | 2013-08-19 | 1 | -1/+1 |
| | |||||
* | Remove unused fields. Thanks Clang | lloyd | 2013-07-30 | 2 | -2/+0 |
| | |||||
* | merge of 'a25b72d98eb3f88fcf577fabfcd430ef0758debc' | lloyd | 2013-07-29 | 1 | -1/+10 |
|\ | | | | | | | and 'e94f646a2b2fe793b40067b09c95a5871e52a43a' | ||||
| * | Add sending std::vector to TLS::Channel | lloyd | 2013-07-01 | 1 | -1/+10 |
| | | |||||
* | | Change default policy to prohibit DTLS to minimize surprise. | lloyd | 2013-07-10 | 8 | -41/+64 |
|/ | | | | | | | | | | Allow applications to send arbirary alert messages. Add a new optional parameter to Channel which specifies how large to make the IO buffers by default. Add Channel::reset_state, and reset the IO buffers and cipher specs after a fatal alert. | ||||
* | Move cryptobox/raw_key.cpp to new module cryptobox_psk which allows it | lloyd | 2013-06-05 | 2 | -2/+2 |
| | | | | | | to be used in TLS without requiring pulling in CTR, Serpent, PBKDF2 and other code required by password-based cryptobox but not needed for TLS session encryption. | ||||
* | Have TLS::Ciphersuite::valid check that all algorithms are available, | lloyd | 2013-06-04 | 2 | -21/+84 |
| | | | | | | | | | | | | | which allows us to remove a number of algorithms as hard dependencies and instead simply allow their use if they are included in the build. Currently all key exchange algorithms (RSA, DH, ECDH, SRP) remain as hard dependencies as msg_{client,server}_key.cpp directly manipulate those types. While theoretically optional, MD5, SHA-1, SHA-2, and SSL3-MAC remain hard dependencies as their availability affects protocol support as well as ciphersuites, though in principle being able to disable MD5/SHA-1 and requiring v1.2 or higher would be useful. | ||||
* | Add Channel::send_warning_alert and send_fatal_alert | lloyd | 2013-05-30 | 4 | -8/+18 |
| | |||||
* | Change TLS::Ciphersuite constructor to be non-inline and to take | lloyd | 2013-04-19 | 2 | -17/+37 |
| | | | | | arguments by const char*. Reduces size of tls_suite_info.o by 80% on Linux with GCC 4.8 | ||||
* | Add missing dependencies | lloyd | 2013-04-19 | 1 | -0/+2 |
| | |||||
* | Avoid warning | lloyd | 2013-04-19 | 1 | -2/+2 |
| | |||||
* | Some small TLS doc updates | lloyd | 2013-04-19 | 1 | -0/+2 |
| | |||||
* | Avoid using representable value for internal null alert | lloyd | 2013-04-19 | 2 | -14/+7 |
| | |||||
* | Rename ARC4 to RC4 | lloyd | 2013-04-19 | 4 | -17/+16 |
| | |||||
* | Rewrite the TLS padding comparison to be constant time | lloyd | 2013-04-16 | 1 | -6/+6 |
| | |||||
* | Add a policy for Suite B 128-bit | lloyd | 2013-04-12 | 2 | -12/+33 |
| | |||||
* | Add datestamp to autogenerated tls_suite_info.cpp | lloyd | 2013-04-12 | 1 | -3/+2 |
| | |||||
* | Fix Ciphersuite::to_string when using non-GCM AEAD modes | lloyd | 2013-04-12 | 1 | -2/+2 |
| | |||||
* | Add support for AEAD modes in TLS. Add GCM ciphersuites. | lloyd | 2013-04-11 | 4 | -9/+239 |
| | |||||
* | In Channel, pre-size the IO buffers to 16K to avoid excess allocations. | lloyd | 2013-04-11 | 1 | -0/+7 |
| | | | | Translate Integrity_Failure exceptions to bad_record_mac | ||||
* | Only negotiate an AEAD mode when using 1.2 | lloyd | 2013-04-11 | 3 | -0/+12 |
| | |||||
* | Mark Channel IO buffers for zeroing | lloyd | 2013-04-10 | 3 | -7/+7 |
| | |||||
* | Make the IV length and MAC keylength explicit in the ciphersuite | lloyd | 2013-04-10 | 6 | -124/+145 |
| | | | | Add support for alternate PRFs | ||||
* | Make ciphersuite_list a virtual member of TLS::Policy | lloyd | 2013-04-10 | 4 | -21/+20 |
| | | | | so it can be overridden by applications. | ||||
* | Add a param to Connection_Cipher_State so it knows which direction | lloyd | 2013-04-10 | 3 | -1/+5 |
| | | | | processing is happening. | ||||
* | Have tls_suite_info.py generate the entire source file | lloyd | 2013-03-28 | 1 | -6/+6 |
| | | | | | | | instead of just the switch. Next step should be having it be run by configure at build time and a copy of the the params included in build-data | ||||
* | Add TLS::Policy::server_uses_own_ciphersuite_preferences() | lloyd | 2013-03-21 | 4 | -5/+33 |
| | | | | | | Previously the server always took its most-preferred cipher out of the client's list, but this policy allows telling a server to follow the client's preferences insetad. | ||||
* | Add the script that generates the switch in tls_suite_info.cpp | lloyd | 2013-03-16 | 1 | -1/+4 |
| | |||||
* | Move assert.h from internal to very public (included in types.h) | lloyd | 2013-03-13 | 9 | -9/+0 |
| | | | | | | This reduces friction to writing an assert, so hopefully there will be more of them as a result. And we can use asserts in public headers now, very useful for templates. | ||||
* | Pull the code doing TLS session crypto out to cryptobox for general | lloyd | 2013-03-04 | 1 | -101/+4 |
| | | | | use and call it. | ||||
* | Correct Doxygen comments | lloyd | 2013-03-02 | 2 | -2/+1 |
| |