|
Botan 3.14.1
Crypto and TLS for C&
|
#include <tls_cipher_state.h>
Public Attributes | |
| std::unique_ptr< AEAD_Mode > | cipher |
| std::optional< secure_vector< uint8_t > > | finished_key |
| secure_vector< uint8_t > | iv |
| uint64_t | sequence_number |
| secure_vector< uint8_t > | traffic_secret |
The cryptographic state required to protect or deprotect records in one direction. Concrete subclasses manage the available epochs, e.g. a single current epoch per direction for TLS 1.3.
Definition at line 85 of file tls_cipher_state.h.
| std::unique_ptr<AEAD_Mode> Botan::TLS::Cipher_State::Epoch::cipher |
Definition at line 86 of file tls_cipher_state.h.
Referenced by Botan::TLS::Cipher_State::decrypt_output_length(), Botan::TLS::Cipher_State::deprotect_and_hydrate_content_type(), Botan::TLS::Cipher_State::encrypt_output_length(), Botan::TLS::Cipher_State::is_compatible_with(), Botan::TLS::Cipher_State::marshall_and_protect(), Botan::TLS::Cipher_State::minimum_decryption_input_length(), and Botan::TLS::Cipher_State::protected_record_length().
| std::optional<secure_vector<uint8_t> > Botan::TLS::Cipher_State::Epoch::finished_key |
only relevant in the handshake traffic epoch to calculate and verify the handshake's Finished MACs
Definition at line 94 of file tls_cipher_state.h.
| secure_vector<uint8_t> Botan::TLS::Cipher_State::Epoch::iv |
Definition at line 87 of file tls_cipher_state.h.
Referenced by Botan::TLS::Cipher_State::deprotect_and_hydrate_content_type(), and Botan::TLS::Cipher_State::marshall_and_protect().
| uint64_t Botan::TLS::Cipher_State::Epoch::sequence_number |
Definition at line 88 of file tls_cipher_state.h.
Referenced by Botan::TLS::Cipher_State::marshall_and_protect(), Botan::TLS::Cipher_State::records_decrypted_with_current_key(), and Botan::TLS::Cipher_State::records_encrypted_with_current_key().
| secure_vector<uint8_t> Botan::TLS::Cipher_State::Epoch::traffic_secret |
Definition at line 90 of file tls_cipher_state.h.