Lines Matching refs:ticket
691 if( ssl->session_negotiate->ticket == NULL || tlen == 0 ) in ssl_write_session_ticket_ext()
697 memcpy( p, ssl->session_negotiate->ticket, tlen ); in ssl_write_session_ticket_ext()
1099 if( ssl->session_negotiate->ticket != NULL && in ssl_write_client_hello()
4362 unsigned char *ticket; in ssl_parse_new_session_ticket() local
4430 if( ssl->session != NULL && ssl->session->ticket != NULL ) in ssl_parse_new_session_ticket()
4432 mbedtls_platform_zeroize( ssl->session->ticket, in ssl_parse_new_session_ticket()
4434 mbedtls_free( ssl->session->ticket ); in ssl_parse_new_session_ticket()
4435 ssl->session->ticket = NULL; in ssl_parse_new_session_ticket()
4439 mbedtls_platform_zeroize( ssl->session_negotiate->ticket, in ssl_parse_new_session_ticket()
4441 mbedtls_free( ssl->session_negotiate->ticket ); in ssl_parse_new_session_ticket()
4442 ssl->session_negotiate->ticket = NULL; in ssl_parse_new_session_ticket()
4445 if( ( ticket = mbedtls_calloc( 1, ticket_len ) ) == NULL ) in ssl_parse_new_session_ticket()
4453 memcpy( ticket, msg + 6, ticket_len ); in ssl_parse_new_session_ticket()
4455 ssl->session_negotiate->ticket = ticket; in ssl_parse_new_session_ticket()