Lines Matching refs:mbedtls_ssl_session
181 int mbedtls_ssl_session_copy( mbedtls_ssl_session *dst, in mbedtls_ssl_session_copy()
182 const mbedtls_ssl_session *src ) in mbedtls_ssl_session_copy()
185 memcpy( dst, src, sizeof( mbedtls_ssl_session ) ); in mbedtls_ssl_session_copy()
1614 static void ssl_clear_peer_cert( mbedtls_ssl_session *session ) in ssl_clear_peer_cert()
2535 mbedtls_ssl_session *session = ssl->session_negotiate; in ssl_calc_finished_tls_sha256()
2612 mbedtls_ssl_session *session = ssl->session_negotiate; in ssl_calc_finished_tls_sha384()
3030 void mbedtls_ssl_session_init( mbedtls_ssl_session *session ) in mbedtls_ssl_session_init()
3032 memset( session, 0, sizeof(mbedtls_ssl_session) ); in mbedtls_ssl_session_init()
3056 ssl->session_negotiate = mbedtls_calloc( 1, sizeof(mbedtls_ssl_session) ); in ssl_handshake_init()
3572 int mbedtls_ssl_set_session( mbedtls_ssl_context *ssl, const mbedtls_ssl_session *session ) in mbedtls_ssl_set_session()
4557 mbedtls_ssl_session *dst ) in mbedtls_ssl_get_session()
4715 static size_t ssl_session_save_tls12( const mbedtls_ssl_session *session, in ssl_session_save_tls12()
4867 static int ssl_session_save( const mbedtls_ssl_session *session, in ssl_session_save()
4927 int mbedtls_ssl_session_save( const mbedtls_ssl_session *session, in mbedtls_ssl_session_save()
4941 static int ssl_session_load_tls12( mbedtls_ssl_session *session, in ssl_session_load_tls12()
5140 static int ssl_session_load( mbedtls_ssl_session *session, in ssl_session_load()
5191 int mbedtls_ssl_session_load( mbedtls_ssl_session *session, in mbedtls_ssl_session_load()
5607 void mbedtls_ssl_session_free( mbedtls_ssl_session *session ) in mbedtls_ssl_session_free()
5620 mbedtls_platform_zeroize( session, sizeof( mbedtls_ssl_session ) ); in mbedtls_ssl_session_free()