RetroArch
Public Attributes | List of all members
mbedtls_ssl_handshake_params Struct Reference

#include <ssl_internal.h>

Collaboration diagram for mbedtls_ssl_handshake_params:
[legend]

Public Attributes

mbedtls_ssl_sig_hash_set_t hash_algs
 
mbedtls_dhm_context dhm_ctx
 
mbedtls_ecdh_context ecdh_ctx
 
const mbedtls_ecp_curve_info ** curves
 
unsigned char * psk
 
size_t psk_len
 
mbedtls_ssl_key_certkey_cert
 
int sni_authmode
 
mbedtls_ssl_key_certsni_key_cert
 
mbedtls_x509_crtsni_ca_chain
 
mbedtls_x509_crlsni_ca_crl
 
unsigned int out_msg_seq
 
unsigned int in_msg_seq
 
unsigned char * verify_cookie
 
unsigned char verify_cookie_len
 
unsigned char * hs_msg
 
uint32_t retransmit_timeout
 
unsigned char retransmit_state
 
mbedtls_ssl_flight_itemflight
 
mbedtls_ssl_flight_itemcur_msg
 
unsigned int in_flight_start_seq
 
mbedtls_ssl_transformalt_transform_out
 
unsigned char alt_out_ctr [8]
 
mbedtls_md5_context fin_md5
 
mbedtls_sha1_context fin_sha1
 
mbedtls_sha256_context fin_sha256
 
mbedtls_sha512_context fin_sha512
 
void(* update_checksum )(mbedtls_ssl_context *, const unsigned char *, size_t)
 
void(* calc_verify )(mbedtls_ssl_context *, unsigned char *)
 
void(* calc_finished )(mbedtls_ssl_context *, unsigned char *, int)
 
int(* tls_prf )(const unsigned char *, size_t, const char *, const unsigned char *, size_t, unsigned char *, size_t)
 
size_t pmslen
 
unsigned char randbytes [64]
 
unsigned char premaster [MBEDTLS_PREMASTER_SIZE]
 
int resume
 
int max_major_ver
 
int max_minor_ver
 
int cli_exts
 
int new_session_ticket
 
int extended_ms
 

Member Data Documentation

◆ alt_out_ctr

unsigned char mbedtls_ssl_handshake_params::alt_out_ctr[8]

Alternative record epoch/counter for resending messages

◆ alt_transform_out

mbedtls_ssl_transform* mbedtls_ssl_handshake_params::alt_transform_out

Alternative transform for resending messages

◆ calc_finished

void(* mbedtls_ssl_handshake_params::calc_finished) (mbedtls_ssl_context *, unsigned char *, int)

◆ calc_verify

void(* mbedtls_ssl_handshake_params::calc_verify) (mbedtls_ssl_context *, unsigned char *)

◆ cli_exts

int mbedtls_ssl_handshake_params::cli_exts

client extension presence

◆ cur_msg

mbedtls_ssl_flight_item* mbedtls_ssl_handshake_params::cur_msg

Current message in flight

◆ curves

const mbedtls_ecp_curve_info** mbedtls_ssl_handshake_params::curves

Supported elliptic curves

◆ dhm_ctx

mbedtls_dhm_context mbedtls_ssl_handshake_params::dhm_ctx

DHM key exchange

◆ ecdh_ctx

mbedtls_ecdh_context mbedtls_ssl_handshake_params::ecdh_ctx

ECDH key exchange

◆ extended_ms

int mbedtls_ssl_handshake_params::extended_ms

use Extended Master Secret?

◆ fin_md5

mbedtls_md5_context mbedtls_ssl_handshake_params::fin_md5

◆ fin_sha1

mbedtls_sha1_context mbedtls_ssl_handshake_params::fin_sha1

◆ fin_sha256

mbedtls_sha256_context mbedtls_ssl_handshake_params::fin_sha256

◆ fin_sha512

mbedtls_sha512_context mbedtls_ssl_handshake_params::fin_sha512

◆ flight

mbedtls_ssl_flight_item* mbedtls_ssl_handshake_params::flight

Current outgoing flight

◆ hash_algs

mbedtls_ssl_sig_hash_set_t mbedtls_ssl_handshake_params::hash_algs

Set of suitable sig-hash pairs

◆ hs_msg

unsigned char* mbedtls_ssl_handshake_params::hs_msg

Reassembled handshake message

◆ in_flight_start_seq

unsigned int mbedtls_ssl_handshake_params::in_flight_start_seq

Minimum message sequence in the flight being received

◆ in_msg_seq

unsigned int mbedtls_ssl_handshake_params::in_msg_seq

Incoming handshake sequence number

◆ key_cert

mbedtls_ssl_key_cert* mbedtls_ssl_handshake_params::key_cert

chosen key/cert pair (server)

◆ max_major_ver

int mbedtls_ssl_handshake_params::max_major_ver

max. major version client

◆ max_minor_ver

int mbedtls_ssl_handshake_params::max_minor_ver

max. minor version client

◆ new_session_ticket

int mbedtls_ssl_handshake_params::new_session_ticket

use NewSessionTicket?

◆ out_msg_seq

unsigned int mbedtls_ssl_handshake_params::out_msg_seq

Outgoing handshake sequence number

◆ pmslen

size_t mbedtls_ssl_handshake_params::pmslen

premaster length

◆ premaster

unsigned char mbedtls_ssl_handshake_params::premaster[MBEDTLS_PREMASTER_SIZE]

premaster secret

◆ psk

unsigned char* mbedtls_ssl_handshake_params::psk

PSK from the callback

◆ psk_len

size_t mbedtls_ssl_handshake_params::psk_len

Length of PSK from callback

◆ randbytes

unsigned char mbedtls_ssl_handshake_params::randbytes[64]

random bytes

◆ resume

int mbedtls_ssl_handshake_params::resume

session resume indicator

◆ retransmit_state

unsigned char mbedtls_ssl_handshake_params::retransmit_state

Retransmission state

◆ retransmit_timeout

uint32_t mbedtls_ssl_handshake_params::retransmit_timeout

Current value of timeout

◆ sni_authmode

int mbedtls_ssl_handshake_params::sni_authmode

authmode from SNI callback

◆ sni_ca_chain

mbedtls_x509_crt* mbedtls_ssl_handshake_params::sni_ca_chain

trusted CAs from SNI callback

◆ sni_ca_crl

mbedtls_x509_crl* mbedtls_ssl_handshake_params::sni_ca_crl

trusted CAs CRLs from SNI

◆ sni_key_cert

mbedtls_ssl_key_cert* mbedtls_ssl_handshake_params::sni_key_cert

key/cert list from SNI

◆ tls_prf

int(* mbedtls_ssl_handshake_params::tls_prf) (const unsigned char *, size_t, const char *, const unsigned char *, size_t, unsigned char *, size_t)

◆ update_checksum

void(* mbedtls_ssl_handshake_params::update_checksum) (mbedtls_ssl_context *, const unsigned char *, size_t)

◆ verify_cookie

unsigned char* mbedtls_ssl_handshake_params::verify_cookie

Cli: HelloVerifyRequest cookie Srv: unused

◆ verify_cookie_len

unsigned char mbedtls_ssl_handshake_params::verify_cookie_len

Cli: cookie length Srv: flag for sending a cookie


The documentation for this struct was generated from the following file: