Home
last modified time | relevance | path

Searched refs:session_id_length (Results 1 – 9 of 9) sorted by relevance

/openssl/ssl/
H A Dssl_txt.c67 for (i = 0; i < x->session_id_length; i++) { in SSL_SESSION_print()
177 if (x->session_id_length == 0 || x->master_key_length == 0) in SSL_SESSION_print_keylog()
190 for (i = 0; i < x->session_id_length; i++) { in SSL_SESSION_print_keylog()
H A Dssl_sess.c293 *len = (unsigned int)s->session_id_length; in SSL_SESSION_get_id()
388 ss->session_id_length = 0; in ssl_generate_session_id()
408 memset(ss->session_id, 0, ss->session_id_length); in ssl_generate_session_id()
409 tmp = (int)ss->session_id_length; in ssl_generate_session_id()
420 if (tmp == 0 || tmp > ss->session_id_length) { in ssl_generate_session_id()
426 ss->session_id_length = tmp; in ssl_generate_session_id()
464 ss->session_id_length = 0; in ssl_get_new_session()
472 ss->session_id_length = 0; in ssl_get_new_session()
508 data.session_id_length = sess_id_len; in lookup_sess_in_cache()
816 if ((c != NULL) && (c->session_id_length != 0)) { in remove_session_lock()
[all …]
H A Dssl_asn1.c166 in->session_id, in->session_id_length); in i2d_SSL_SESSION()
314 if (!ssl_session_memcpy(ret->session_id, &ret->session_id_length, in d2i_SSL_SESSION_ex()
H A Dssl_lib.c1061 r.session_id_length = id_len; in SSL_has_matching_session_id()
3828 if (a->session_id_length < sizeof(tmp_storage)) { in ssl_session_hash()
3830 memcpy(tmp_storage, a->session_id, a->session_id_length); in ssl_session_hash()
3853 if (a->session_id_length != b->session_id_length) in ssl_session_cmp()
3855 return memcmp(a->session_id, b->session_id, a->session_id_length); in ssl_session_cmp()
4634 if (s->session->session_id_length == 0 || s->session->not_resumable) in ssl_update_cache()
H A Dssl_local.h492 size_t session_id_length; member
H A Dt1_lib.c2552 sess->session_id_length = sesslen; in tls_decrypt_ticket()
/openssl/ssl/statem/
H A Dstatem_clnt.c1276 assert(s->session->session_id_length <= sizeof(s->session->session_id)); in tls_construct_client_hello()
1277 sess_id_len = s->session->session_id_length; in tls_construct_client_hello()
1643 && session_id_len == s->session->session_id_length in tls_process_server_hello()
1665 if (s->session->session_id_length > 0) { in tls_process_server_hello()
1681 s->session->session_id_length = session_id_len; in tls_process_server_hello()
2726 if (SSL_CONNECTION_IS_TLS13(s) || s->session->session_id_length > 0) { in tls_process_new_session_ticket()
2822 s->session->session_id_length = sess_len; in tls_process_new_session_ticket()
H A Dstatem_srvr.c2438 s->session->session_id_length = 0; in tls_construct_server_hello()
2444 sl = s->session->session_id_length; in tls_construct_server_hello()
4141 s->session->session_id_length) in construct_stateful_ticket()
/openssl/test/
H A Dsslapitest.c9343 early->session_id_length = SSL3_SSL_SESSION_ID_LENGTH; in test_session_timeout()
9345 middle->session_id_length = SSL3_SSL_SESSION_ID_LENGTH; in test_session_timeout()
9347 late->session_id_length = SSL3_SSL_SESSION_ID_LENGTH; in test_session_timeout()

Completed in 101 milliseconds