ReactOS 0.4.15-dev-7924-g5949c20
mbedtls_ssl_handshake_params Struct Reference

#include <ssl_internal.h>

Collaboration diagram for mbedtls_ssl_handshake_params:

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
 
mbedtls_ssl_key_certkey_cert
 
int sni_authmode
 
mbedtls_ssl_key_certsni_key_cert
 
mbedtls_x509_crtsni_ca_chain
 
mbedtls_x509_crlsni_ca_crl
 
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
 

Detailed Description

Definition at line 348 of file ssl_internal.h.

Member Data Documentation

◆ calc_finished

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

Definition at line 469 of file ssl_internal.h.

◆ calc_verify

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

Definition at line 468 of file ssl_internal.h.

◆ cli_exts

int mbedtls_ssl_handshake_params::cli_exts

client extension presence

Definition at line 483 of file ssl_internal.h.

◆ curves

const mbedtls_ecp_curve_info** mbedtls_ssl_handshake_params::curves

Supported elliptic curves

Definition at line 373 of file ssl_internal.h.

◆ dhm_ctx

mbedtls_dhm_context mbedtls_ssl_handshake_params::dhm_ctx

DHM key exchange

Definition at line 359 of file ssl_internal.h.

◆ ecdh_ctx

mbedtls_ecdh_context mbedtls_ssl_handshake_params::ecdh_ctx

ECDH key exchange

Definition at line 362 of file ssl_internal.h.

◆ extended_ms

int mbedtls_ssl_handshake_params::extended_ms

use Extended Master Secret?

Definition at line 489 of file ssl_internal.h.

◆ fin_md5

mbedtls_md5_context mbedtls_ssl_handshake_params::fin_md5

Definition at line 455 of file ssl_internal.h.

◆ fin_sha1

mbedtls_sha1_context mbedtls_ssl_handshake_params::fin_sha1

Definition at line 456 of file ssl_internal.h.

◆ fin_sha256

mbedtls_sha256_context mbedtls_ssl_handshake_params::fin_sha256

Definition at line 460 of file ssl_internal.h.

◆ fin_sha512

mbedtls_sha512_context mbedtls_ssl_handshake_params::fin_sha512

Definition at line 463 of file ssl_internal.h.

◆ hash_algs

mbedtls_ssl_sig_hash_set_t mbedtls_ssl_handshake_params::hash_algs

Set of suitable sig-hash pairs

Definition at line 356 of file ssl_internal.h.

◆ key_cert

mbedtls_ssl_key_cert* mbedtls_ssl_handshake_params::key_cert

chosen key/cert pair (server)

Definition at line 380 of file ssl_internal.h.

Referenced by mbedtls_ssl_own_cert(), and mbedtls_ssl_own_key().

◆ max_major_ver

int mbedtls_ssl_handshake_params::max_major_ver

max. major version client

Definition at line 481 of file ssl_internal.h.

◆ max_minor_ver

int mbedtls_ssl_handshake_params::max_minor_ver

max. minor version client

Definition at line 482 of file ssl_internal.h.

◆ new_session_ticket

int mbedtls_ssl_handshake_params::new_session_ticket

use NewSessionTicket?

Definition at line 486 of file ssl_internal.h.

◆ pmslen

size_t mbedtls_ssl_handshake_params::pmslen

premaster length

Definition at line 474 of file ssl_internal.h.

◆ premaster

unsigned char mbedtls_ssl_handshake_params::premaster[MBEDTLS_PREMASTER_SIZE]

premaster secret

Definition at line 477 of file ssl_internal.h.

◆ randbytes

unsigned char mbedtls_ssl_handshake_params::randbytes[64]

random bytes

Definition at line 476 of file ssl_internal.h.

◆ resume

int mbedtls_ssl_handshake_params::resume

session resume indicator

Definition at line 480 of file ssl_internal.h.

◆ sni_authmode

int mbedtls_ssl_handshake_params::sni_authmode

authmode from SNI callback

Definition at line 382 of file ssl_internal.h.

◆ sni_ca_chain

mbedtls_x509_crt* mbedtls_ssl_handshake_params::sni_ca_chain

trusted CAs from SNI callback

Definition at line 384 of file ssl_internal.h.

◆ sni_ca_crl

mbedtls_x509_crl* mbedtls_ssl_handshake_params::sni_ca_crl

trusted CAs CRLs from SNI

Definition at line 385 of file ssl_internal.h.

◆ sni_key_cert

mbedtls_ssl_key_cert* mbedtls_ssl_handshake_params::sni_key_cert

key/cert list from SNI

Definition at line 383 of file ssl_internal.h.

◆ 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)

Definition at line 470 of file ssl_internal.h.

◆ update_checksum

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

Definition at line 467 of file ssl_internal.h.


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