Functions
handshake.cc File Reference
#include <openssl/ssl.h>
#include <assert.h>
#include <utility>
#include <openssl/rand.h>
#include "../crypto/internal.h"
#include "internal.h"
Include dependency graph for handshake.cc:

Go to the source code of this file.

Functions

static uint16_t grease_index_to_value (const SSL_HANDSHAKE *hs, enum ssl_grease_index_t index)
 
bool ssl_add_message_cbb (SSL *ssl, CBB *cbb)
 
bool ssl_check_message_type (SSL *ssl, const SSLMessage &msg, int type)
 
enum ssl_hs_wait_t ssl_get_finished (SSL_HANDSHAKE *hs)
 
uint16_t ssl_get_grease_value (const SSL_HANDSHAKE *hs, enum ssl_grease_index_t index)
 
UniquePtr< SSL_HANDSHAKEssl_handshake_new (SSL *ssl)
 
const SSL_SESSIONssl_handshake_session (const SSL_HANDSHAKE *hs)
 
bool ssl_hash_message (SSL_HANDSHAKE *hs, const SSLMessage &msg)
 
size_t ssl_max_handshake_message_len (const SSL *ssl)
 
bool ssl_output_cert_chain (SSL_HANDSHAKE *hs)
 
bool ssl_parse_extensions (const CBS *cbs, uint8_t *out_alert, std::initializer_list< SSLExtension * > extensions, bool ignore_unknown)
 
enum ssl_verify_result_t ssl_reverify_peer_cert (SSL_HANDSHAKE *hs, bool send_alert)
 
int ssl_run_handshake (SSL_HANDSHAKE *hs, bool *out_early_return)
 
bool ssl_send_finished (SSL_HANDSHAKE *hs)
 
enum ssl_verify_result_t ssl_verify_peer_cert (SSL_HANDSHAKE *hs)
 

Function Documentation

◆ grease_index_to_value()

static uint16_t grease_index_to_value ( const SSL_HANDSHAKE hs,
enum ssl_grease_index_t  index 
)
static

Definition at line 445 of file handshake.cc.

◆ ssl_add_message_cbb()

bool ssl_add_message_cbb ( SSL ssl,
CBB cbb 
)

Definition at line 220 of file handshake.cc.

◆ ssl_check_message_type()

bool ssl_check_message_type ( SSL ssl,
const SSLMessage msg,
int  type 
)

Definition at line 209 of file handshake.cc.

◆ ssl_get_finished()

enum ssl_hs_wait_t ssl_get_finished ( SSL_HANDSHAKE hs)

Definition at line 467 of file handshake.cc.

◆ ssl_get_grease_value()

uint16_t ssl_get_grease_value ( const SSL_HANDSHAKE hs,
enum ssl_grease_index_t  index 
)

Definition at line 454 of file handshake.cc.

◆ ssl_handshake_new()

UniquePtr<SSL_HANDSHAKE> ssl_handshake_new ( SSL ssl)

Definition at line 196 of file handshake.cc.

◆ ssl_handshake_session()

const SSL_SESSION* ssl_handshake_session ( const SSL_HANDSHAKE hs)

Definition at line 581 of file handshake.cc.

◆ ssl_hash_message()

bool ssl_hash_message ( SSL_HANDSHAKE hs,
const SSLMessage msg 
)

Definition at line 260 of file handshake.cc.

◆ ssl_max_handshake_message_len()

size_t ssl_max_handshake_message_len ( const SSL ssl)

Definition at line 230 of file handshake.cc.

◆ ssl_output_cert_chain()

bool ssl_output_cert_chain ( SSL_HANDSHAKE hs)

Definition at line 567 of file handshake.cc.

◆ ssl_parse_extensions()

bool ssl_parse_extensions ( const CBS cbs,
uint8_t out_alert,
std::initializer_list< SSLExtension * >  extensions,
bool  ignore_unknown 
)

Definition at line 269 of file handshake.cc.

◆ ssl_reverify_peer_cert()

enum ssl_verify_result_t ssl_reverify_peer_cert ( SSL_HANDSHAKE hs,
bool  send_alert 
)

Definition at line 423 of file handshake.cc.

◆ ssl_run_handshake()

int ssl_run_handshake ( SSL_HANDSHAKE hs,
bool out_early_return 
)

Definition at line 588 of file handshake.cc.

◆ ssl_send_finished()

bool ssl_send_finished ( SSL_HANDSHAKE hs)

Definition at line 523 of file handshake.cc.

◆ ssl_verify_peer_cert()

enum ssl_verify_result_t ssl_verify_peer_cert ( SSL_HANDSHAKE hs)

Definition at line 323 of file handshake.cc.



grpc
Author(s):
autogenerated on Fri May 16 2025 03:01:19