mbed TLS v1.3.14
Data Fields
_ssl_handshake_params Struct Reference

#include <ssl.h>

Collaboration diagram for _ssl_handshake_params:
Collaboration graph
[legend]

Data Fields

int sig_alg
 
int cert_type
 
int verify_sig_alg
 
dhm_context dhm_ctx
 
ecdh_context ecdh_ctx
 
const ecp_curve_info ** curves
 
ssl_key_certkey_cert
 Current key/cert or key/cert list. More...
 
ssl_key_certsni_key_cert
 
md5_context fin_md5
 
sha1_context fin_sha1
 
sha256_context fin_sha256
 
sha512_context fin_sha512
 
void(* update_checksum )(ssl_context *, const unsigned char *, size_t)
 
void(* calc_verify )(ssl_context *, unsigned char *)
 
void(* calc_finished )(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 [POLARSSL_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 631 of file ssl.h.

Field Documentation

void(* _ssl_handshake_params::calc_finished) (ssl_context *, unsigned char *, int)

Definition at line 680 of file ssl.h.

void(* _ssl_handshake_params::calc_verify) (ssl_context *, unsigned char *)

Definition at line 679 of file ssl.h.

int _ssl_handshake_params::cert_type

Requested cert type

Definition at line 637 of file ssl.h.

int _ssl_handshake_params::cli_exts

client extension presence

Definition at line 694 of file ssl.h.

const ecp_curve_info** _ssl_handshake_params::curves

Supported elliptic curves

Definition at line 646 of file ssl.h.

dhm_context _ssl_handshake_params::dhm_ctx

DHM key exchange

Definition at line 640 of file ssl.h.

ecdh_context _ssl_handshake_params::ecdh_ctx

ECDH key exchange

Definition at line 643 of file ssl.h.

int _ssl_handshake_params::extended_ms

use Extended Master Secret?

Definition at line 700 of file ssl.h.

md5_context _ssl_handshake_params::fin_md5

Definition at line 666 of file ssl.h.

sha1_context _ssl_handshake_params::fin_sha1

Definition at line 667 of file ssl.h.

sha256_context _ssl_handshake_params::fin_sha256

Definition at line 671 of file ssl.h.

sha512_context _ssl_handshake_params::fin_sha512

Definition at line 674 of file ssl.h.

ssl_key_cert* _ssl_handshake_params::key_cert

Current key/cert or key/cert list.

On client: pointer to ssl->key_cert, only the first entry used. On server: starts as a pointer to ssl->key_cert, then becomes a pointer to the chosen key from this list or the SNI list.

Definition at line 655 of file ssl.h.

Referenced by ssl_own_cert(), and ssl_own_key().

int _ssl_handshake_params::max_major_ver

max. major version client

Definition at line 692 of file ssl.h.

int _ssl_handshake_params::max_minor_ver

max. minor version client

Definition at line 693 of file ssl.h.

int _ssl_handshake_params::new_session_ticket

use NewSessionTicket?

Definition at line 697 of file ssl.h.

size_t _ssl_handshake_params::pmslen

premaster length

Definition at line 685 of file ssl.h.

unsigned char _ssl_handshake_params::premaster[POLARSSL_PREMASTER_SIZE]

premaster secret

Definition at line 688 of file ssl.h.

unsigned char _ssl_handshake_params::randbytes[64]

random bytes

Definition at line 687 of file ssl.h.

int _ssl_handshake_params::resume

session resume indicator

Definition at line 691 of file ssl.h.

int _ssl_handshake_params::sig_alg

Hash algorithm for signature

Definition at line 636 of file ssl.h.

ssl_key_cert* _ssl_handshake_params::sni_key_cert

key/cert list from SNI

Definition at line 657 of file ssl.h.

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

Definition at line 681 of file ssl.h.

void(* _ssl_handshake_params::update_checksum) (ssl_context *, const unsigned char *, size_t)

Definition at line 678 of file ssl.h.

int _ssl_handshake_params::verify_sig_alg

Signature algorithm for verify

Definition at line 638 of file ssl.h.


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