Botan  1.11.15
Classes | Namespaces | Typedefs | Functions
src/lib/tls/tls_record.h File Reference
#include <botan/tls_magic.h>
#include <botan/tls_version.h>
#include <botan/aead.h>
#include <botan/block_cipher.h>
#include <botan/stream_cipher.h>
#include <botan/mac.h>
#include <vector>
#include <chrono>

Go to the source code of this file.

Classes

class  Botan::TLS::Connection_Cipher_State

Namespaces

namespace  Botan
namespace  Botan::TLS

Typedefs

typedef std::function
< std::shared_ptr
< Connection_Cipher_State >
u16bit)> 
Botan::TLS::get_cipherstate_fn

Functions

size_t Botan::TLS::read_record (secure_vector< byte > &readbuf, const byte input[], size_t input_sz, bool is_datagram, size_t &consumed, secure_vector< byte > &record, u64bit *record_sequence, Protocol_Version *record_version, Record_Type *record_type, Connection_Sequence_Numbers *sequence_numbers, get_cipherstate_fn get_cipherstate)
void Botan::TLS::write_record (secure_vector< byte > &output, byte msg_type, const byte msg[], size_t msg_length, Protocol_Version version, u64bit seq, Connection_Cipher_State *cs, RandomNumberGenerator &rng)