Go to the source code of this file.
Classes | |
struct | tlsv1_client |
Defines | |
#define | MAX_CIPHER_COUNT 30 |
Functions | |
void | tls_alert (struct tlsv1_client *conn, u8 level, u8 description) |
int | tls_derive_keys (struct tlsv1_client *conn, const u8 *pre_master_secret, size_t pre_master_secret_len) |
int | tls_derive_pre_master_secret (u8 *pre_master_secret) |
u8 * | tls_send_client_hello (struct tlsv1_client *conn, size_t *out_len) |
void | tlsv1_client_free_dh (struct tlsv1_client *conn) |
u8 * | tlsv1_client_handshake_write (struct tlsv1_client *conn, size_t *out_len, int no_appl_data) |
int | tlsv1_client_process_handshake (struct tlsv1_client *conn, u8 ct, const u8 *buf, size_t *len, u8 **out_data, size_t *out_len) |
u8 * | tlsv1_client_send_alert (struct tlsv1_client *conn, u8 level, u8 description, size_t *out_len) |
#define MAX_CIPHER_COUNT 30 |
Definition at line 47 of file tlsv1_client_i.h.
void tls_alert | ( | struct tlsv1_client * | conn, | |
u8 | level, | |||
u8 | description | |||
) |
Definition at line 30 of file tlsv1_client.c.
int tls_derive_keys | ( | struct tlsv1_client * | conn, | |
const u8 * | pre_master_secret, | |||
size_t | pre_master_secret_len | |||
) |
Definition at line 56 of file tlsv1_client.c.
int tls_derive_pre_master_secret | ( | u8 * | pre_master_secret | ) |
Definition at line 46 of file tlsv1_client.c.
u8* tls_send_client_hello | ( | struct tlsv1_client * | conn, | |
size_t * | out_len | |||
) |
Definition at line 49 of file tlsv1_client_write.c.
void tlsv1_client_free_dh | ( | struct tlsv1_client * | conn | ) |
Definition at line 37 of file tlsv1_client.c.
u8* tlsv1_client_handshake_write | ( | struct tlsv1_client * | conn, | |
size_t * | out_len, | |||
int | no_appl_data | |||
) |
Definition at line 736 of file tlsv1_client_write.c.
int tlsv1_client_process_handshake | ( | struct tlsv1_client * | conn, | |
u8 | ct, | |||
const u8 * | buf, | |||
size_t * | len, | |||
u8 ** | out_data, | |||
size_t * | out_len | |||
) |
Definition at line 898 of file tlsv1_client_read.c.
u8* tlsv1_client_send_alert | ( | struct tlsv1_client * | conn, | |
u8 | level, | |||
u8 | description, | |||
size_t * | out_len | |||
) |
Definition at line 762 of file tlsv1_client_write.c.