/external/openssh/ |
D | kexc25519s.c | 127 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()
|
D | kexc25519c.c | 150 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()
|
D | kexecdhs.c | 162 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()
|
D | kexdhc.c | 192 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()
|
D | kexecdhc.c | 197 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()
|
D | kexdhs.c | 182 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()
|
D | kexgexs.c | 213 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()
|
D | kexgexc.c | 244 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()
|
D | kex.h | 132 size_t session_id_len; member
|
D | serverloop.c | 683 ssh->kex->session_id, ssh->kex->session_id_len)) != 0 || in server_input_hostkeys_prove()
|
D | clientloop.c | 2347 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()
|
D | kex.c | 908 kex->session_id_len) != 0 || in derive_key()
|
D | packet.c | 2495 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()
|
D | sshd.c | 2213 session_id2_len = kex->session_id_len;
|
/external/boringssl/src/ssl/ |
D | ssl_session.cc | 772 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, ©); 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()
|
D | tls13_server.cc | 224 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()
|
D | t1_lib.cc | 224 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()
|
D | handshake_client.cc | 677 !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()
|
D | internal.h | 1046 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/ |
D | tlsv1_server_write.c | 65 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()
|
D | tlsv1_client_read.c | 155 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()
|
D | tlsv1_server_i.h | 25 size_t session_id_len; member
|
D | tlsv1_client_i.h | 24 size_t session_id_len; member
|
D | tlsv1_client_write.c | 110 *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/ |
D | tls.c | 621 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()
|