_ssl_context Struct Reference

#include <ssl.h>


Detailed Description

Definition at line 175 of file ssl.h.


Data Fields

int authmode
x509_certca_chain
x509_crlca_crl
int * ciphers
int client_auth
unsigned long ctx_dec [128]
unsigned long ctx_enc [128]
dhm_context dhm_ctx
int do_crypt
int endpoint
void(* f_dbg )(void *, int, char *)
int(* f_recv )(void *, unsigned char *, int)
int(* f_rng )(void *)
int(* f_send )(void *, unsigned char *, int)
md5_context fin_md5
sha1_context fin_sha1
unsigned char * hostname
unsigned long hostname_len
unsigned char * in_ctr
unsigned char * in_hdr
int in_hslen
int in_left
unsigned char * in_msg
int in_msglen
int in_msgtype
unsigned char * in_offt
unsigned char iv_dec [16]
unsigned char iv_enc [16]
int ivlen
int keylen
unsigned char mac_dec [32]
unsigned char mac_enc [32]
int maclen
int major_ver
int max_major_ver
int max_minor_ver
int minlen
int minor_ver
int nb_zero
unsigned char * out_ctr
unsigned char * out_hdr
int out_left
unsigned char * out_msg
int out_msglen
int out_msgtype
x509_certown_cert
void * p_dbg
void * p_recv
void * p_rng
void * p_send
x509_certpeer_cert
char * peer_cn
int pmslen
unsigned char premaster [256]
unsigned char randbytes [64]
int resume
rsa_contextrsa_key
int(* s_get )(ssl_context *)
int(* s_set )(ssl_context *)
ssl_sessionsession
int state
int timeout
int verify_result

Field Documentation

verification mode

Definition at line 247 of file ssl.h.

own trusted CA chain

Definition at line 241 of file ssl.h.

trusted CA CRLs

Definition at line 242 of file ssl.h.

allowed ciphersuites

Definition at line 259 of file ssl.h.

flag for client auth.

Definition at line 248 of file ssl.h.

unsigned long _ssl_context::ctx_dec[128]

decryption context

Definition at line 276 of file ssl.h.

unsigned long _ssl_context::ctx_enc[128]

encryption context

Definition at line 275 of file ssl.h.

DHM key exchange

Definition at line 254 of file ssl.h.

en(de)cryption flag

Definition at line 258 of file ssl.h.

0: client, 1: server

Definition at line 246 of file ssl.h.

void(* _ssl_context::f_dbg)(void *, int, char *)

int(* _ssl_context::f_recv)(void *, unsigned char *, int)

int(* _ssl_context::f_rng)(void *)

int(* _ssl_context::f_send)(void *, unsigned char *, int)

Finished MD5 checksum

Definition at line 255 of file ssl.h.

Finished SHA-1 checksum

Definition at line 256 of file ssl.h.

unsigned char* _ssl_context::hostname

Definition at line 281 of file ssl.h.

Definition at line 282 of file ssl.h.

unsigned char* _ssl_context::in_ctr

64-bit incoming message counter

Definition at line 213 of file ssl.h.

unsigned char* _ssl_context::in_hdr

5-byte record header (in_ctr+8)

Definition at line 214 of file ssl.h.

current handshake message length

Definition at line 222 of file ssl.h.

amount of data read so far

Definition at line 220 of file ssl.h.

unsigned char* _ssl_context::in_msg

the message contents (in_hdr+5)

Definition at line 215 of file ssl.h.

record header: message length

Definition at line 219 of file ssl.h.

record header: message type

Definition at line 218 of file ssl.h.

unsigned char* _ssl_context::in_offt

read offset in application data

Definition at line 216 of file ssl.h.

unsigned char _ssl_context::iv_dec[16]

IV (decryption)

Definition at line 270 of file ssl.h.

unsigned char _ssl_context::iv_enc[16]

IV (encryption)

Definition at line 269 of file ssl.h.

IV length

Definition at line 263 of file ssl.h.

symmetric key length

Definition at line 261 of file ssl.h.

unsigned char _ssl_context::mac_dec[32]

MAC (decryption)

Definition at line 273 of file ssl.h.

unsigned char _ssl_context::mac_enc[32]

MAC (encryption)

Definition at line 272 of file ssl.h.

MAC length

Definition at line 264 of file ssl.h.

equal to SSL_MAJOR_VERSION_3

Definition at line 182 of file ssl.h.

max. major version from client

Definition at line 185 of file ssl.h.

max. minor version from client

Definition at line 186 of file ssl.h.

min. ciphertext length

Definition at line 262 of file ssl.h.

either 0 (SSL3) or 1 (TLS1.0)

Definition at line 183 of file ssl.h.

# of 0-length encrypted messages

Definition at line 223 of file ssl.h.

unsigned char* _ssl_context::out_ctr

64-bit outgoing message counter

Definition at line 228 of file ssl.h.

unsigned char* _ssl_context::out_hdr

5-byte record header (out_ctr+8)

Definition at line 229 of file ssl.h.

amount of data not yet written

Definition at line 234 of file ssl.h.

unsigned char* _ssl_context::out_msg

the message contents (out_hdr+5)

Definition at line 230 of file ssl.h.

record header: message length

Definition at line 233 of file ssl.h.

record header: message type

Definition at line 232 of file ssl.h.

own X.509 certificate

Definition at line 240 of file ssl.h.

context for the debug function

Definition at line 197 of file ssl.h.

context for reading operations

Definition at line 198 of file ssl.h.

context for the RNG function

Definition at line 196 of file ssl.h.

context for writing operations

Definition at line 199 of file ssl.h.

peer X.509 cert chain

Definition at line 243 of file ssl.h.

expected peer CN

Definition at line 244 of file ssl.h.

premaster length

Definition at line 260 of file ssl.h.

unsigned char _ssl_context::premaster[256]

premaster secret

Definition at line 267 of file ssl.h.

unsigned char _ssl_context::randbytes[64]

random bytes

Definition at line 266 of file ssl.h.

session resuming flag

Definition at line 204 of file ssl.h.

own RSA private key

Definition at line 239 of file ssl.h.

(server) get callback

(server) set callback

current session data

Definition at line 206 of file ssl.h.

SSL handshake: current state

Definition at line 180 of file ssl.h.

sess. expiration time

Definition at line 205 of file ssl.h.

verification result

Definition at line 249 of file ssl.h.


Generated on Fri Feb 19 02:31:32 2010 for AVR32 - POLARSSL - Benchmark Example by  doxygen 1.5.5