Botan 3.14.1
Crypto and TLS for C&
msg_client_hello.cpp File Reference
#include <botan/tls_messages.h>
#include <botan/internal/tls_messages_internal.h>
#include <botan/hash.h>
#include <botan/mac.h>
#include <botan/rng.h>
#include <botan/tls_callbacks.h>
#include <botan/tls_policy.h>
#include <botan/internal/tls_reader.h>
#include <algorithm>

Go to the source code of this file.

Namespaces

namespace  Botan
namespace  Botan::TLS

Functions

std::vector< uint8_t > Botan::TLS::calculate_cookie (std::span< const uint8_t > client_hello_bits, std::string_view client_identity, std::span< const uint8_t > cookie_secret)
std::vector< uint8_t > Botan::TLS::make_hello_random (RandomNumberGenerator &rng, Callbacks &cb, const Policy &policy)