Home
last modified time | relevance | path

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

/freebsd/crypto/openssl/ssl/
H A Dssl_sess.c292 *len = (unsigned int)s->session_id_length; in SSL_SESSION_get_id()
363 ss->session_id_length = SSL3_SSL_SESSION_ID_LENGTH; in ssl_generate_session_id()
386 ss->session_id_length = 0; in ssl_generate_session_id()
406 memset(ss->session_id, 0, ss->session_id_length); in ssl_generate_session_id()
407 tmp = (int)ss->session_id_length; in ssl_generate_session_id()
418 if (tmp == 0 || tmp > ss->session_id_length) { in ssl_generate_session_id()
424 ss->session_id_length = tmp; in ssl_generate_session_id()
427 (unsigned int)ss->session_id_length)) { in ssl_generate_session_id()
462 ss->session_id_length = 0; in ssl_get_new_session()
470 ss->session_id_length = 0; in ssl_get_new_session()
[all …]
H A Dssl_txt.c70 for (i = 0; i < x->session_id_length; i++) { in SSL_SESSION_print()
185 if (x->session_id_length == 0 || x->master_key_length == 0) in SSL_SESSION_print_keylog()
198 for (i = 0; i < x->session_id_length; i++) { in SSL_SESSION_print_keylog()
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.c1097 r.session_id_length = id_len; in SSL_has_matching_session_id()
3853 if (a->session_id_length < sizeof(tmp_storage)) { in ssl_session_hash()
3855 memcpy(tmp_storage, a->session_id, a->session_id_length); in ssl_session_hash()
3874 if (a->session_id_length != b->session_id_length) in ssl_session_cmp()
3876 return memcmp(a->session_id, b->session_id, a->session_id_length); in ssl_session_cmp()
4714 if (s->session->session_id_length == 0 || s->session->not_resumable) in ssl_update_cache()
H A Dssl_local.h489 size_t session_id_length; member
H A Dt1_lib.c3252 sess->session_id_length = sesslen; in tls_decrypt_ticket()
/freebsd/crypto/openssl/ssl/statem/
H A Dstatem_clnt.c1287 assert(s->session->session_id_length <= sizeof(s->session->session_id)); in tls_construct_client_hello()
1288 sess_id_len = s->session->session_id_length; in tls_construct_client_hello()
1653 && session_id_len == s->session->session_id_length in tls_process_server_hello()
1676 if (s->session->session_id_length > 0) { in tls_process_server_hello()
1692 s->session->session_id_length = session_id_len; in tls_process_server_hello()
2765 if (SSL_CONNECTION_IS_TLS13(s) || s->session->session_id_length > 0) { in tls_process_new_session_ticket()
2861 s->session->session_id_length = sess_len; in tls_process_new_session_ticket()
H A Dstatem_srvr.c2473 s->session->session_id_length = 0; in tls_construct_server_hello()
2479 sl = s->session->session_id_length; in tls_construct_server_hello()
4181 s->session->session_id_length) in construct_stateful_ticket()
/freebsd/crypto/openssl/test/
H A Dsslapitest.c9625 early->session_id_length = SSL3_SSL_SESSION_ID_LENGTH; in test_session_timeout()
9627 middle->session_id_length = SSL3_SSL_SESSION_ID_LENGTH; in test_session_timeout()
9629 late->session_id_length = SSL3_SSL_SESSION_ID_LENGTH; in test_session_timeout()