Home
last modified time | relevance | path

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

12

/external/openssh/
Dkexc25519s.c127 kex->session_id_len = hashlen; in input_kex_c25519_init()
128 kex->session_id = malloc(kex->session_id_len); in input_kex_c25519_init()
133 memcpy(kex->session_id, hash, kex->session_id_len); in input_kex_c25519_init()
Dkexc25519c.c150 kex->session_id_len = hashlen; in input_kex_c25519_reply()
151 kex->session_id = malloc(kex->session_id_len); in input_kex_c25519_reply()
156 memcpy(kex->session_id, hash, kex->session_id_len); in input_kex_c25519_reply()
Dkexecdhs.c162 kex->session_id_len = hashlen; in input_kex_ecdh_init()
163 kex->session_id = malloc(kex->session_id_len); in input_kex_ecdh_init()
168 memcpy(kex->session_id, hash, kex->session_id_len); in input_kex_ecdh_init()
Dkexdhc.c192 kex->session_id_len = hashlen; in input_kex_dh()
193 kex->session_id = malloc(kex->session_id_len); in input_kex_dh()
198 memcpy(kex->session_id, hash, kex->session_id_len); in input_kex_dh()
Dkexecdhc.c197 kex->session_id_len = hashlen; in input_kex_ecdh_reply()
198 kex->session_id = malloc(kex->session_id_len); in input_kex_ecdh_reply()
203 memcpy(kex->session_id, hash, kex->session_id_len); in input_kex_ecdh_reply()
Dkexdhs.c182 kex->session_id_len = hashlen; in input_kex_dh_init()
183 kex->session_id = malloc(kex->session_id_len); in input_kex_dh_init()
188 memcpy(kex->session_id, hash, kex->session_id_len); in input_kex_dh_init()
Dkexgexs.c213 kex->session_id_len = hashlen; in input_kex_dh_gex_init()
214 kex->session_id = malloc(kex->session_id_len); in input_kex_dh_gex_init()
219 memcpy(kex->session_id, hash, kex->session_id_len); in input_kex_dh_gex_init()
Dkexgexc.c244 kex->session_id_len = hashlen; in input_kex_dh_gex_reply()
245 kex->session_id = malloc(kex->session_id_len); in input_kex_dh_gex_reply()
250 memcpy(kex->session_id, hash, kex->session_id_len); in input_kex_dh_gex_reply()
Dkex.h132 size_t session_id_len; member
Dserverloop.c683 ssh->kex->session_id, ssh->kex->session_id_len)) != 0 || in server_input_hostkeys_prove()
Dclientloop.c2347 if (ssh->kex->session_id_len == 0) in client_global_hostkeys_private_confirm()
2362 ssh->kex->session_id_len)) != 0 || in client_global_hostkeys_private_confirm()
Dkex.c908 kex->session_id_len) != 0 || in derive_key()
Dpacket.c2495 kex->session_id_len)) != 0 || in kex_to_blob()
2695 if ((r = sshbuf_get_string(m, &kex->session_id, &kex->session_id_len)) != 0 || in kex_from_blob()
Dsshd.c2213 session_id2_len = kex->session_id_len;
/external/boringssl/src/ssl/
Dssl_session.cc772 size_t session_id_len) { in ssl_lookup_session() argument
775 if (session_id_len == 0 || session_id_len > SSL_MAX_SSL_SESSION_ID_LENGTH) { in ssl_lookup_session()
785 data.session_id_length = session_id_len; in ssl_lookup_session()
786 OPENSSL_memcpy(data.session_id, session_id, session_id_len); in ssl_lookup_session()
802 session_id_len, &copy); in ssl_lookup_session()
858 client_hello->session_id_len)) { in ssl_get_prev_session()
872 ssl, &session, client_hello->session_id, client_hello->session_id_len); in ssl_get_prev_session()
Dtls13_server.cc224 client_hello.session_id_len > sizeof(hs->session_id)) { in do_select_parameters()
231 client_hello.session_id_len); in do_select_parameters()
232 hs->session_id_len = client_hello.session_id_len; in do_select_parameters()
550 !CBB_add_bytes(&session_id, hs->session_id, hs->session_id_len))) || in do_send_server_hello()
Dt1_lib.cc224 out->session_id_len = CBS_len(&session_id); in ssl_client_hello_init()
3162 size_t session_id_len) { in ssl_process_ticket() argument
3167 session_id_len > SSL_MAX_SSL_SESSION_ID_LENGTH) { in ssl_process_ticket()
3198 OPENSSL_memcpy(session->session_id, session_id, session_id_len); in ssl_process_ticket()
3199 session->session_id_length = session_id_len; in ssl_process_ticket()
Dhandshake_client.cc677 !CBB_add_bytes(&child, hs->session_id, hs->session_id_len)) { in ssl_write_client_hello()
762 hs->session_id_len = sizeof(hs->session_id); in ssl3_send_client_hello()
763 if (!RAND_bytes(hs->session_id, hs->session_id_len)) { in ssl3_send_client_hello()
Dinternal.h1046 uint8_t session_id_len; in OPENSSL_MSVC_PRAGMA() member
2335 size_t session_id_len); in OPENSSL_MSVC_PRAGMA()
/external/wpa_supplicant_8/src/tls/
Dtlsv1_server_write.c65 conn->session_id_len = TLS_SESSION_ID_MAX_LEN; in tls_write_server_hello()
66 if (random_get_bytes(conn->session_id, conn->session_id_len)) { in tls_write_server_hello()
72 conn->session_id, conn->session_id_len); in tls_write_server_hello()
91 *pos++ = conn->session_id_len; in tls_write_server_hello()
92 os_memcpy(pos, conn->session_id, conn->session_id_len); in tls_write_server_hello()
93 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.c110 *pos++ = conn->session_id_len; in tls_send_client_hello()
111 os_memcpy(pos, conn->session_id, conn->session_id_len); in tls_send_client_hello()
112 pos += conn->session_id_len; in tls_send_client_hello()
/external/syslinux/gpxe/src/net/
Dtls.c621 uint8_t session_id_len; in tls_send_client_hello() member
802 uint8_t session_id_len; in tls_new_server_hello() member
806 uint8_t session_id[hello_a->session_id_len]; in tls_new_server_hello()

12