Name Description Size Coverage
info.txt 476 -
msg_cert_verify_13.cpp Create a new Certificate Verify message for TLS 1.3 4893 -
msg_certificate_13.cpp 19441 -
msg_certificate_req_13.cpp 6827 -
msg_client_hello_13.cpp 20556 -
msg_encrypted_extensions.cpp encrypted content type byte 6105 -
msg_finished_13.cpp 713 -
msg_key_update.cpp 1068 -
msg_server_hello_13.cpp Validation that applies to both Server Hello and Hello Retry Request 17782 -
msg_session_ticket_13.cpp 3663 -
tls_channel_impl_13.cpp , EndOfEarlyData, 17684 -
tls_channel_impl_13.h Encapsulates the callbacks in the state machine described in RFC 8446 7.1, that will make the realisation the SSLKEYLOGFILE for connection debugging specified in ietf.org/archive/id/draft-thomson-tls-keylogfile-00.html The class is split from the rest of the Channel_Impl_13 for mockability. 13246 -
tls_cipher_state.cpp 27973 -
tls_cipher_state.h This class implements the key schedule for TLS 1.3 as described in RFC 8446 7.1. Internally, it reflects the state machine pictured in the same RFC section. It provides the following entry points and state advancement methods that each facilitate certain cryptographic functionality: * init_with_psk() sets up the cipher state with a pre-shared key (out of band or via session ticket). will allow sending early data in the future * init_with_server_hello() / advance_with_server_hello() allows encrypting and decrypting handshake traffic, as well as producing and validating the client/server handshake finished MACs * advance_with_server_finished() allows encrypting and decrypting application traffic * advance_with_client_finished() allows negotiation of resumption PSKs While encrypting and decrypting records (RFC 8446 5.2) Cipher_State internally keeps track of the current sequence numbers (RFC 8446 5.3) to calculate the correct Per-Record Nonce. Sequence numbers are reset appropriately, whenever traffic secrets change. Handshake finished MAC calculation and verification is described in RFC 8446 4.4.4. PSKs calculation is described in RFC 8446 4.6.1. 13017 -
tls_client_impl_13.cpp is_server 31042 -
tls_client_impl_13.h SSL/TLS Client 1.3 implementation 4191 -
tls_extensions_13.cpp whoami 5166 -
tls_extensions_13.h Cookie from RFC 8446 4.2.2 12499 -
tls_extensions_key_share.cpp Perform KEM decapsulation with another Key_Share_Entry's public key The caller must ensure that both this and `received` have the same group. This method must not be called on Key_Share_Entries without a private key. 21718 -
tls_extensions_psk.cpp 18300 -
tls_handshake_layer_13.cpp 6974 -
tls_handshake_layer_13.h Implementation of the TLS 1.3 handshake protocol layer This component transforms payload bytes received in TLS records from the peer into parsed handshake messages and vice versa. 4748 -
tls_handshake_state_13.cpp from_peer 3032 -
tls_handshake_state_13.h Once the implementation has successfully verified the peer's Finished message, the handshake is considered complete and successful. 8504 -
tls_messages_13.h Creates a client hello which might optionally use the passed-in @p session for resumption. In that case, this will "extract" the master secret from the passed-in @p session. 19012 -
tls_psk_identity_13.cpp 1773 -
tls_psk_identity_13.h Represents a TLS 1.3 PSK identity as found in the Preshared Key extension with an opaque identity and an associated (obfuscated) ticket age. The latter is not applicable for externally provided PSKs. 2402 -
tls_record_layer_13.cpp RFC 8446 5.1 `TLSPlaintext` without the `fragment` payload data 18248 -
tls_record_layer_13.h Resembles the `TLSPlaintext` structure in RFC 8446 5.1 minus the record protocol specifics and ossified bytes. 4551 -
tls_server_impl_13.cpp is_server 27359 -
tls_server_impl_13.h SSL/TLS Server 1.3 implementation 2599 -
tls_transcript_hash_13.cpp message type 'message_hash' RFC 8446 4. 8085 -
tls_transcript_hash_13.h Wraps the behaviour of the TLS 1.3 transcript hash as described in RFC 8446 4.4.1. Particularly, it hides the complexity that the utilized hash algorithm might become evident only after receiving a server hello message. 3374 -