Home
last modified time | relevance | path

Searched refs:session_id_len (Results 1 – 25 of 27) sorted by relevance

12

/third_party/mbedtls/library/
Dssl_cache.c55 size_t session_id_len, in ssl_cache_find_entry() argument
72 if( session_id_len != cur->session_id_len || in ssl_cache_find_entry()
74 cur->session_id_len ) != 0 ) in ssl_cache_find_entry()
94 size_t session_id_len, in mbedtls_ssl_cache_get() argument
106 ret = ssl_cache_find_entry( cache, session_id, session_id_len, &entry ); in mbedtls_ssl_cache_get()
129 size_t session_id_len, in ssl_cache_pick_writing_slot() argument
152 if( session_id_len == cur->session_id_len && in ssl_cache_pick_writing_slot()
153 memcmp( session_id, cur->session_id, cur->session_id_len ) == 0 ) in ssl_cache_pick_writing_slot()
240 cur->session_id_len = 0; in ssl_cache_pick_writing_slot()
249 size_t session_id_len, in mbedtls_ssl_cache_set() argument
[all …]
/third_party/openssl/util/perl/TLSProxy/
DServerHello.pm39 $self->{session_id_len} = 0;
57 my $session_id_len = 0;
59 $session_id_len = unpack('C', substr($self->data, $ptr));
61 $session = substr($self->data, $ptr, $session_id_len);
62 $ptr += $session_id_len;
113 $self->session_id_len($session_id_len);
124 print " Session ID Len:".$session_id_len."\n";
147 $data .= pack('C', $self->session_id_len);
186 sub session_id_len subroutine
190 $self->{session_id_len} = shift;
[all …]
DClientHello.pm34 $self->{session_id_len} = 0;
53 my $session_id_len = unpack('C', substr($self->data, $ptr));
55 my $session = substr($self->data, $ptr, $session_id_len);
56 $ptr += $session_id_len;
85 $self->session_id_len($session_id_len);
97 print " Session ID Len:".$session_id_len."\n";
139 $data .= pack('C', $self->session_id_len);
184 sub session_id_len subroutine
188 $self->{session_id_len} = shift;
190 return $self->{session_id_len};
/third_party/mbedtls/include/mbedtls/
Dssl_cache.h69 size_t MBEDTLS_PRIVATE(session_id_len);
110 size_t session_id_len,
125 size_t session_id_len,
Dssl.h802 size_t session_id_len,
824 size_t session_id_len,
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/tls/
Dtlsv1_server_write.c68 conn->session_id_len = TLS_SESSION_ID_MAX_LEN; in tls_write_server_hello()
69 if (random_get_bytes(conn->session_id, conn->session_id_len)) { in tls_write_server_hello()
75 conn->session_id, conn->session_id_len); in tls_write_server_hello()
94 *pos++ = conn->session_id_len; in tls_write_server_hello()
95 os_memcpy(pos, conn->session_id, conn->session_id_len); in tls_write_server_hello()
96 pos += conn->session_id_len; in tls_write_server_hello()
Dtlsv1_client_read.c155 if (conn->session_id_len && conn->session_id_len == *pos && in tls_process_server_hello()
156 os_memcmp(conn->session_id, pos + 1, conn->session_id_len) == 0) { in tls_process_server_hello()
157 pos += 1 + conn->session_id_len; in tls_process_server_hello()
161 conn->session_id_len = *pos; in tls_process_server_hello()
163 os_memcpy(conn->session_id, pos, conn->session_id_len); in tls_process_server_hello()
164 pos += conn->session_id_len; in tls_process_server_hello()
167 conn->session_id, conn->session_id_len); in tls_process_server_hello()
Dtlsv1_server_i.h25 size_t session_id_len; member
Dtlsv1_client_i.h24 size_t session_id_len; member
Dtlsv1_client_write.c101 *pos++ = conn->session_id_len; in tls_send_client_hello()
102 os_memcpy(pos, conn->session_id, conn->session_id_len); in tls_send_client_hello()
103 pos += conn->session_id_len; in tls_send_client_hello()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/tls/
Dtlsv1_server_write.c68 conn->session_id_len = TLS_SESSION_ID_MAX_LEN; in tls_write_server_hello()
69 if (random_get_bytes(conn->session_id, conn->session_id_len)) { in tls_write_server_hello()
75 conn->session_id, conn->session_id_len); in tls_write_server_hello()
94 *pos++ = conn->session_id_len; in tls_write_server_hello()
95 os_memcpy(pos, conn->session_id, conn->session_id_len); in tls_write_server_hello()
96 pos += conn->session_id_len; in tls_write_server_hello()
Dtlsv1_client_read.c155 if (conn->session_id_len && conn->session_id_len == *pos && in tls_process_server_hello()
156 os_memcmp(conn->session_id, pos + 1, conn->session_id_len) == 0) { in tls_process_server_hello()
157 pos += 1 + conn->session_id_len; in tls_process_server_hello()
161 conn->session_id_len = *pos; in tls_process_server_hello()
163 os_memcpy(conn->session_id, pos, conn->session_id_len); in tls_process_server_hello()
164 pos += conn->session_id_len; in tls_process_server_hello()
167 conn->session_id, conn->session_id_len); in tls_process_server_hello()
Dtlsv1_server_i.h25 size_t session_id_len; member
Dtlsv1_client_i.h24 size_t session_id_len; member
Dtlsv1_client_write.c113 *pos++ = conn->session_id_len; in tls_send_client_hello()
114 os_memcpy(pos, conn->session_id, conn->session_id_len); in tls_send_client_hello()
115 pos += conn->session_id_len; in tls_send_client_hello()
/third_party/openssl/test/recipes/
D70-test_tls13alerts.t54 ${$proxy->message_list}[1]->session_id_len(1);
/third_party/openssl/ssl/statem/
Dstatem_clnt.c1403 size_t session_id_len; in tls_process_server_hello() local
1446 session_id_len = PACKET_remaining(&session_id); in tls_process_server_hello()
1447 if (session_id_len > sizeof(s->session->session_id) in tls_process_server_hello()
1448 || session_id_len > SSL3_SESSION_ID_SIZE) { in tls_process_server_hello()
1499 if (session_id_len != s->tmp_session_id_len in tls_process_server_hello()
1501 session_id_len) != 0) { in tls_process_server_hello()
1587 if (session_id_len != 0 in tls_process_server_hello()
1588 && session_id_len == s->session->session_id_length in tls_process_server_hello()
1590 session_id_len) == 0) in tls_process_server_hello()
1627 s->session->session_id_length = session_id_len; in tls_process_server_hello()
[all …]
Dstatem_srvr.c1472 unsigned int ciphersuite_len, session_id_len, challenge_len; in tls_process_client_hello() local
1476 || !PACKET_get_net_2(pkt, &session_id_len) in tls_process_client_hello()
1483 if (session_id_len > SSL_MAX_SSL_SESSION_ID_LENGTH) { in tls_process_client_hello()
1491 || !PACKET_copy_bytes(pkt, clienthello->session_id, session_id_len) in tls_process_client_hello()
1499 clienthello->session_id_len = session_id_len; in tls_process_client_hello()
1526 &clienthello->session_id_len)) { in tls_process_client_hello()
1849 s->clienthello->session_id_len); in tls_early_post_process_client_hello()
1850 s->tmp_session_id_len = s->clienthello->session_id_len; in tls_early_post_process_client_hello()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap.c684 size_t session_id_len = 0; in eap_peer_erp_init() local
731 session_id_len = ext_session_id_len; in eap_peer_erp_init()
734 session_id_len = sm->eapSessionIdLen; in eap_peer_erp_init()
737 if (!session_id || session_id_len == 0) { in eap_peer_erp_init()
744 if (hmac_sha256_kdf(session_id, session_id_len, "EMSK", len, in eap_peer_erp_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap.c692 size_t session_id_len = 0; in eap_peer_erp_init() local
739 session_id_len = ext_session_id_len; in eap_peer_erp_init()
742 session_id_len = sm->eapSessionIdLen; in eap_peer_erp_init()
745 if (!session_id || session_id_len == 0) { in eap_peer_erp_init()
752 if (hmac_sha256_kdf(session_id, session_id_len, "EMSK", len, in eap_peer_erp_init()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eapol_supp/
Deapol_supp_sm.c512 size_t session_id_len, emsk_len; in SM_STATE() local
519 sm->eap_proxy, &session_id_len); in SM_STATE()
523 session_id_len, emsk, in SM_STATE()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eapol_supp/
Deapol_supp_sm.c498 size_t session_id_len, emsk_len; in SM_STATE() local
505 sm->eap_proxy, &session_id_len); in SM_STATE()
509 session_id_len, emsk, in SM_STATE()
/third_party/openssl/ssl/
Dssl_sess.c535 if (hello->session_id_len > 0) { in ssl_get_prev_session()
538 hello->session_id_len); in ssl_get_prev_session()
Dssl_local.h676 size_t session_id_len; member
/third_party/mbedtls/docs/
D3.0-migration-guide.md882 size_t session_id_len,
886 size_t session_id_len,

12