Home
last modified time | relevance | path

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

/third_party/nghttp2/src/
Dtls.cc112 unsigned int session_id_length; in get_tls_session_info() local
113 tls_info->session_id = SSL_SESSION_get_id(session, &session_id_length); in get_tls_session_info()
114 tls_info->session_id_length = session_id_length; in get_tls_session_info()
Dtls.h81 size_t session_id_length; member
Dshrpx_mruby_module_env.cc363 unsigned int session_id_length = 0; in env_get_tls_session_id() local
364 auto session_id = SSL_SESSION_get_id(session, &session_id_length); in env_get_tls_session_id()
368 auto id = util::format_hex(balloc, StringRef{session_id, session_id_length}); in env_get_tls_session_id()
Dshrpx_log.cc731 unsigned int session_id_length = 0; in upstream_accesslog() local
732 auto session_id = SSL_SESSION_get_id(session, &session_id_length); in upstream_accesslog()
733 if (session_id_length == 0) { in upstream_accesslog()
737 std::tie(p, last) = copy_hex_low(session_id, session_id_length, p, last); in upstream_accesslog()
Dshrpx_connection.cc589 tls_info.session_id_length); in write_tls_pending_handshake()
/third_party/openssl/ssl/
Dssl_sess.c229 *len = (unsigned int)s->session_id_length; in SSL_SESSION_get_id()
294 ss->session_id_length = SSL3_SSL_SESSION_ID_LENGTH; in ssl_generate_session_id()
318 ss->session_id_length = 0; in ssl_generate_session_id()
332 memset(ss->session_id, 0, ss->session_id_length); in ssl_generate_session_id()
333 tmp = (int)ss->session_id_length; in ssl_generate_session_id()
344 if (tmp == 0 || tmp > ss->session_id_length) { in ssl_generate_session_id()
350 ss->session_id_length = tmp; in ssl_generate_session_id()
353 (unsigned int)ss->session_id_length)) { in ssl_generate_session_id()
389 ss->session_id_length = 0; in ssl_get_new_session()
397 ss->session_id_length = 0; in ssl_get_new_session()
[all …]
Dssl_txt.c65 for (i = 0; i < x->session_id_length; i++) { in SSL_SESSION_print()
174 if (x->session_id_length == 0 || x->master_key_length == 0) in SSL_SESSION_print_keylog()
187 for (i = 0; i < x->session_id_length; i++) { in SSL_SESSION_print_keylog()
Dssl_asn1.c157 in->session_id, in->session_id_length); in i2d_SSL_SESSION()
288 if (!ssl_session_memcpy(ret->session_id, &ret->session_id_length, in d2i_SSL_SESSION()
Dssl_lib.c938 r.session_id_length = id_len; in SSL_has_matching_session_id()
2979 if (a->session_id_length < sizeof(tmp_storage)) { in ssl_session_hash()
2981 memcpy(tmp_storage, a->session_id, a->session_id_length); in ssl_session_hash()
3004 if (a->session_id_length != b->session_id_length) in ssl_session_cmp()
3006 return memcmp(a->session_id, b->session_id, a->session_id_length); in ssl_session_cmp()
3505 if (s->session->session_id_length == 0) in ssl_update_cache()
Dssl_local.h519 size_t session_id_length; member
Dt1_lib.c1507 sess->session_id_length = sesslen; in tls_decrypt_ticket()
/third_party/openssl/ssl/statem/
Dstatem_clnt.c1214 assert(s->session->session_id_length <= sizeof(s->session->session_id)); in tls_construct_client_hello()
1215 sess_id_len = s->session->session_id_length; in tls_construct_client_hello()
1588 && session_id_len == s->session->session_id_length in tls_process_server_hello()
1611 if (s->session->session_id_length > 0) { in tls_process_server_hello()
1627 s->session->session_id_length = session_id_len; in tls_process_server_hello()
2613 if (SSL_IS_TLS13(s) || s->session->session_id_length > 0) { in tls_process_new_session_ticket()
2711 s->session->session_id_length = sess_len; in tls_process_new_session_ticket()
Dstatem_srvr.c2409 s->session->session_id_length = 0; in tls_construct_server_hello()
2415 sl = s->session->session_id_length; in tls_construct_server_hello()
4040 s->session->session_id_length) in construct_stateful_ticket()
/third_party/node/src/
Dnode_crypto.cc1820 unsigned int session_id_length; in NewSessionCallback() local
1822 &session_id_length); in NewSessionCallback()
1826 session_id_length).ToLocalChecked(); in NewSessionCallback()