PolarSSL v1.2.7
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
md5_context fin_md5
sha1_context fin_sha1
sha2_context fin_sha2
sha4_context fin_sha4
void(* update_checksum )(ssl_context *, unsigned char *, size_t)
void(* calc_verify )(ssl_context *, unsigned char *)
void(* calc_finished )(ssl_context *, unsigned char *, int)
int(* tls_prf )(unsigned char *, size_t, char *, unsigned char *, size_t, unsigned char *, size_t)
size_t pmslen
unsigned char randbytes [64]
unsigned char premaster [POLARSSL_MPI_MAX_SIZE]
int resume

Detailed Description

Definition at line 353 of file ssl.h.


Field Documentation

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

Definition at line 375 of file ssl.h.

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

Definition at line 374 of file ssl.h.

int _ssl_handshake_params::cert_type

Requested cert type

Definition at line 359 of file ssl.h.

dhm_context _ssl_handshake_params::dhm_ctx

DHM key exchange

Definition at line 362 of file ssl.h.

md5_context _ssl_handshake_params::fin_md5

Definition at line 368 of file ssl.h.

sha1_context _ssl_handshake_params::fin_sha1

Definition at line 369 of file ssl.h.

sha2_context _ssl_handshake_params::fin_sha2

Definition at line 370 of file ssl.h.

sha4_context _ssl_handshake_params::fin_sha4

Definition at line 371 of file ssl.h.

size_t _ssl_handshake_params::pmslen

premaster length

Definition at line 380 of file ssl.h.

unsigned char _ssl_handshake_params::premaster[POLARSSL_MPI_MAX_SIZE]

premaster secret

Definition at line 384 of file ssl.h.

unsigned char _ssl_handshake_params::randbytes[64]

random bytes

Definition at line 382 of file ssl.h.

int _ssl_handshake_params::resume

session resume indicator

Definition at line 386 of file ssl.h.

int _ssl_handshake_params::sig_alg

Signature algorithm

Definition at line 358 of file ssl.h.

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

Definition at line 376 of file ssl.h.

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

Definition at line 373 of file ssl.h.

int _ssl_handshake_params::verify_sig_alg

Signature algorithm for verify

Definition at line 360 of file ssl.h.


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