Home
last modified time | relevance | path

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

/external/openssh/
Dkexdhc.c153 kex->session_id_len = hashlen; in kexdh_client()
154 kex->session_id = xmalloc(kex->session_id_len); in kexdh_client()
155 memcpy(kex->session_id, hash, kex->session_id_len); in kexdh_client()
Dkexdhs.c141 kex->session_id_len = hashlen; in kexdh_server()
142 kex->session_id = xmalloc(kex->session_id_len); in kexdh_server()
143 memcpy(kex->session_id, hash, kex->session_id_len); in kexdh_server()
Dkexecdhc.c153 kex->session_id_len = hashlen; in kexecdh_client()
154 kex->session_id = xmalloc(kex->session_id_len); in kexecdh_client()
155 memcpy(kex->session_id, hash, kex->session_id_len); in kexecdh_client()
Dkexecdhs.c139 kex->session_id_len = hashlen; in kexecdh_server()
140 kex->session_id = xmalloc(kex->session_id_len); in kexecdh_server()
141 memcpy(kex->session_id, hash, kex->session_id_len); in kexecdh_server()
Dkexgexs.c184 kex->session_id_len = hashlen; in kexgex_server()
185 kex->session_id = xmalloc(kex->session_id_len); in kexgex_server()
186 memcpy(kex->session_id, hash, kex->session_id_len); in kexgex_server()
Dkexgexc.c199 kex->session_id_len = hashlen; in kexgex_client()
200 kex->session_id = xmalloc(kex->session_id_len); in kexgex_client()
201 memcpy(kex->session_id, hash, kex->session_id_len); in kexgex_client()
Dkex.h119 u_int session_id_len; member
Dkex.c501 EVP_DigestUpdate(&md, kex->session_id, kex->session_id_len); in derive_key()
Dmonitor.c1801 kex->session_id = buffer_get_string(m, &kex->session_id_len); in mm_get_kex()
1803 kex->session_id_len != session_id2_len || in mm_get_kex()
Dmonitor_wrap.c584 buffer_put_string(m, kex->session_id, kex->session_id_len); in mm_send_kex()
Dsshd.c2349 session_id2_len = kex->session_id_len;
Dsshconnect2.c224 session_id2_len = kex->session_id_len; in ssh_kex2()
/external/wpa_supplicant_8/src/tls/
Dtlsv1_client_read.c106 if (conn->session_id_len && conn->session_id_len == *pos && in tls_process_server_hello()
107 os_memcmp(conn->session_id, pos + 1, conn->session_id_len) == 0) { in tls_process_server_hello()
108 pos += 1 + conn->session_id_len; in tls_process_server_hello()
112 conn->session_id_len = *pos; in tls_process_server_hello()
114 os_memcpy(conn->session_id, pos, conn->session_id_len); in tls_process_server_hello()
115 pos += conn->session_id_len; in tls_process_server_hello()
118 conn->session_id, conn->session_id_len); in tls_process_server_hello()
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_server_i.h25 size_t session_id_len; member
Dtlsv1_client_i.h24 size_t session_id_len; member
Dtlsv1_client_write.c90 *pos++ = conn->session_id_len; in tls_send_client_hello()
91 os_memcpy(pos, conn->session_id, conn->session_id_len); in tls_send_client_hello()
92 pos += conn->session_id_len; in tls_send_client_hello()