|
void | mbedtls_ssl_ticket_init (mbedtls_ssl_ticket_context *ctx) |
| Initialize a ticket context. (Just make it ready for mbedtls_ssl_ticket_setup() or mbedtls_ssl_ticket_free().) More...
|
|
static int | ssl_ticket_gen_key (mbedtls_ssl_ticket_context *ctx, unsigned char index) |
|
static int | ssl_ticket_update_keys (mbedtls_ssl_ticket_context *ctx) |
|
int | mbedtls_ssl_ticket_setup (mbedtls_ssl_ticket_context *ctx, int(*f_rng)(void *, unsigned char *, size_t), void *p_rng, mbedtls_cipher_type_t cipher, uint32_t lifetime) |
| Prepare context to be actually used. More...
|
|
static int | ssl_save_session (const mbedtls_ssl_session *session, unsigned char *buf, size_t buf_len, size_t *olen) |
|
static int | ssl_load_session (mbedtls_ssl_session *session, const unsigned char *buf, size_t len) |
|
int | mbedtls_ssl_ticket_write (void *p_ticket, const mbedtls_ssl_session *session, unsigned char *start, const unsigned char *end, size_t *tlen, uint32_t *ticket_lifetime) |
|
static mbedtls_ssl_ticket_key * | ssl_ticket_select_key (mbedtls_ssl_ticket_context *ctx, const unsigned char name[4]) |
|
int | mbedtls_ssl_ticket_parse (void *p_ticket, mbedtls_ssl_session *session, unsigned char *buf, size_t len) |
|
void | mbedtls_ssl_ticket_free (mbedtls_ssl_ticket_context *ctx) |
| Free a context's content and zeroize it. More...
|
|