aboutsummaryrefslogtreecommitdiffstats
path: root/src/tls/tls_channel.cpp
Commit message (Expand)AuthorAgeFilesLines
* Don't need to pass the sequence numbers struct in here, all we need islloyd2012-12-141-1/+1
* Add a Record struct to combine the record contents, type, sequence #,lloyd2012-12-101-31/+23
* Changes so DTLS handshake can send messages under different epochs, eglloyd2012-11-121-31/+40
* Remove Channel::m_max_fragment. Instead derive it from the serverlloyd2012-11-071-10/+19
* Remove Channel::m_connection_closed, instead deriving it from other statelloyd2012-11-071-6/+11
* Pass read_record a callback mapping epoch to cipher state so it canlloyd2012-11-061-42/+15
* Add Channel::pending_state and Channel::active_state, use where possiblelloyd2012-11-061-73/+80
* Store cipher states in Channel instead of Handshake_State. Keep alllloyd2012-11-061-16/+93
* Move Channel::is_{active,closed} to source filelloyd2012-11-011-0/+10
* Inline Channel::{read,write}_cipher_state, only one caller eachlloyd2012-09-141-20/+11
* Store the cipher states in the handshake state object as shared_ptrs.lloyd2012-09-131-34/+42
* Remove Channel::m_secure_renegotiation, instead derive from current state.lloyd2012-09-121-45/+23
* Formattinglloyd2012-09-111-2/+2
* Clean up the handling of close notify alerts a bit. Also returnlloyd2012-09-111-6/+7
* Add helper functionlloyd2012-09-111-7/+5
* Set m_readbuf_pos == m_readbuf.size(), resizing the vector as neededlloyd2012-09-111-3/+1
* The write buffer is cleared and rewritten by write_record, so we don'tlloyd2012-09-111-1/+0
* Pass the record sequence # up to Channellloyd2012-09-111-4/+5
* Move the record type checks up to Channel as besides that the recordlloyd2012-09-111-21/+20
* New logic for DTLS replay detection. Abstracts the sequence handlinglloyd2012-09-101-20/+27
* Remove redundant Channel::m_current_versionlloyd2012-09-091-21/+27
* Create the IO in Channel and then pass it down to new_handshake_statelloyd2012-09-091-8/+23
* Hide Channel::m_rng and Channel::m_session_manager, add getterslloyd2012-09-091-2/+2
* Add support for key material exportlloyd2012-09-071-0/+33
* Remove Channel::m_peer_certs, instead retrieve directly from the state.lloyd2012-09-071-0/+7
* Take version from pending state for creating cipher speclloyd2012-09-071-3/+3
* Inline Secure_Renegotiation_State into Channel as so much of the datelloyd2012-09-071-20/+36
* Pass the current active state as well as the pending state which islloyd2012-09-071-1/+3
* Keep two handshake states around, swap them whenlloyd2012-09-071-58/+59
* Reindentlloyd2012-09-071-10/+11
* In Channel move some checks to after we've verified needed == 0 tolloyd2012-09-071-10/+7
* Remove bogus forced 64 byte mtu.lloyd2012-09-071-1/+6
* Have write_record resize the vector as it goes, thus the return valuelloyd2012-09-061-9/+9
* Inline current_protocol_version, fix fragment limit checklloyd2012-09-061-10/+11
* Make Channel::m_state privatelloyd2012-09-061-1/+19
* Pass process_handshake_msg a reference to the Handshake_Statelloyd2012-09-061-1/+4
* Inline Record_Reader to Channel as welllloyd2012-09-061-16/+42
* Inline Record_Writer to Channellloyd2012-09-061-15/+90
* Add Channel::send_recordlloyd2012-09-061-3/+8
* Add more functions to Channel, hiding Record_Reader entirely and mostlloyd2012-09-061-0/+34
* Make a number of members of Channel private instead of protectedlloyd2012-09-061-6/+22
* Hoist m_rng to Channellloyd2012-09-061-0/+1
* Remove Record_Writer::send_alert. Move Alert serialization to Alert::serializelloyd2012-09-041-1/+1
* Use a std::function so handshake_io only has access Record_Writer'slloyd2012-09-041-1/+1
* DTLS needs some help with ChangeCipherSpec because it is not includedlloyd2012-08-081-1/+1
* Remove Handshake_IO::have_full_record and Handshake_IO::emptylloyd2012-08-071-3/+6
* Track the sequence number and return it from the record reader. Takelloyd2012-08-071-2/+9
* A heartbeat request send by the counterparty during a handshake wouldlloyd2012-08-061-5/+8
* Have all the TLS handshake messages stored in unique_ptrs with onlylloyd2012-08-061-4/+4
* Remove Channel::read_handshake. Have the server set expected next msglloyd2012-08-051-20/+11