Searched refs:mbedtls_ssl_session (Results 1 – 9 of 9) sorted by relevance
/net-tools-3.6.0/mbedtls-2.4.0/include/mbedtls/ |
D | ssl.h | 527 typedef struct mbedtls_ssl_session mbedtls_ssl_session; typedef 544 struct mbedtls_ssl_session struct 601 int (*f_get_cache)(void *, mbedtls_ssl_session *); 603 int (*f_set_cache)(void *, const mbedtls_ssl_session *); 636 int (*f_ticket_write)( void *, const mbedtls_ssl_session *, 639 int (*f_ticket_parse)( void *, mbedtls_ssl_session *, unsigned char *, size_t); 787 mbedtls_ssl_session *session_in; /*!< current session data (in) */ 788 mbedtls_ssl_session *session_out; /*!< current session data (out) */ 789 mbedtls_ssl_session *session; /*!< negotiated session data */ 790 mbedtls_ssl_session *session_negotiate; /*!< session data in negotiation */ [all …]
|
D | ssl_cache.h | 65 mbedtls_ssl_session session; /*!< entry session */ 99 int mbedtls_ssl_cache_get( void *data, mbedtls_ssl_session *session ); 108 int mbedtls_ssl_cache_set( void *data, const mbedtls_ssl_session *session );
|
D | compat-1.3.h | 1738 #define _ssl_session mbedtls_ssl_session 2448 #define ssl_session mbedtls_ssl_session
|
/net-tools-3.6.0/mbedtls-2.4.0/library/ |
D | ssl_ticket.c | 169 static int ssl_save_session( const mbedtls_ssl_session *session, in ssl_save_session() 179 if( left < sizeof( mbedtls_ssl_session ) ) in ssl_save_session() 182 memcpy( p, session, sizeof( mbedtls_ssl_session ) ); in ssl_save_session() 183 p += sizeof( mbedtls_ssl_session ); in ssl_save_session() 184 left -= sizeof( mbedtls_ssl_session ); in ssl_save_session() 213 static int ssl_load_session( mbedtls_ssl_session *session, in ssl_load_session() 222 if( p + sizeof( mbedtls_ssl_session ) > end ) in ssl_load_session() 225 memcpy( session, p, sizeof( mbedtls_ssl_session ) ); in ssl_load_session() 226 p += sizeof( mbedtls_ssl_session ); in ssl_load_session() 286 const mbedtls_ssl_session *session, in mbedtls_ssl_ticket_write() [all …]
|
D | ssl_cache.c | 58 int mbedtls_ssl_cache_get( void *data, mbedtls_ssl_session *session ) in mbedtls_ssl_cache_get() 137 int mbedtls_ssl_cache_set( void *data, const mbedtls_ssl_session *session ) in mbedtls_ssl_cache_set() 242 memcpy( &cur->session, session, sizeof( mbedtls_ssl_session ) ); in mbedtls_ssl_cache_set()
|
D | ssl_tls.c | 159 static int ssl_session_copy( mbedtls_ssl_session *dst, const mbedtls_ssl_session *src ) in ssl_session_copy() 162 memcpy( dst, src, sizeof( mbedtls_ssl_session ) ); in ssl_session_copy() 497 mbedtls_ssl_session *session = ssl->session_negotiate; in mbedtls_ssl_derive_keys() 4708 mbedtls_ssl_session *session = ssl->session_negotiate; in ssl_calc_finished_ssl() 4791 mbedtls_ssl_session *session = ssl->session_negotiate; in ssl_calc_finished_tls() 4850 mbedtls_ssl_session *session = ssl->session_negotiate; in ssl_calc_finished_tls_sha256() 4899 mbedtls_ssl_session *session = ssl->session_negotiate; in ssl_calc_finished_tls_sha384() 5279 void mbedtls_ssl_session_init( mbedtls_ssl_session *session ) in mbedtls_ssl_session_init() 5281 memset( session, 0, sizeof(mbedtls_ssl_session) ); in mbedtls_ssl_session_init() 5305 ssl->session_negotiate = mbedtls_calloc( 1, sizeof(mbedtls_ssl_session) ); in ssl_handshake_init() [all …]
|
D | ssl_srv.c | 444 mbedtls_ssl_session session; in ssl_parse_session_ticket_ext() 496 memcpy( ssl->session_negotiate, &session, sizeof( mbedtls_ssl_session ) ); in ssl_parse_session_ticket_ext() 499 mbedtls_zeroize( &session, sizeof( mbedtls_ssl_session ) ); in ssl_parse_session_ticket_ext()
|
/net-tools-3.6.0/mbedtls-2.4.0/programs/ssl/ |
D | ssl_client2.c | 418 mbedtls_ssl_session saved_session; in main() 437 memset( &saved_session, 0, sizeof( mbedtls_ssl_session ) ); in main()
|
/net-tools-3.6.0/mbedtls-2.4.0/scripts/data_files/ |
D | rename-1.3-2.0.txt | 1282 _ssl_session mbedtls_ssl_session 1991 ssl_session mbedtls_ssl_session
|