Home
last modified time | relevance | path

Searched refs:dh_p_len (Results 1 – 15 of 15) sorted by relevance

/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dtlsv1_server_write.c284 conn->dh_secret_len = conn->cred->dh_p_len; in tls_write_server_key_exchange()
319 dh_ys_len = conn->cred->dh_p_len; in tls_write_server_key_exchange()
330 conn->cred->dh_p, conn->cred->dh_p_len, in tls_write_server_key_exchange()
378 if (pos + 2 + conn->cred->dh_p_len > end) { in tls_write_server_key_exchange()
386 WPA_PUT_BE16(pos, conn->cred->dh_p_len); in tls_write_server_key_exchange()
388 os_memcpy(pos, conn->cred->dh_p, conn->cred->dh_p_len); in tls_write_server_key_exchange()
389 pos += conn->cred->dh_p_len; in tls_write_server_key_exchange()
Dtlsv1_client_read.c422 conn->dh_p_len = WPA_GET_BE16(pos); in tlsv1_process_diffie_hellman()
424 if (conn->dh_p_len == 0 || end - pos < (int) conn->dh_p_len) { in tlsv1_process_diffie_hellman()
426 (unsigned long) conn->dh_p_len); in tlsv1_process_diffie_hellman()
429 conn->dh_p = os_malloc(conn->dh_p_len); in tlsv1_process_diffie_hellman()
432 os_memcpy(conn->dh_p, pos, conn->dh_p_len); in tlsv1_process_diffie_hellman()
433 pos += conn->dh_p_len; in tlsv1_process_diffie_hellman()
435 conn->dh_p, conn->dh_p_len); in tlsv1_process_diffie_hellman()
Dtlsv1_cred.h25 size_t dh_p_len; member
Dtlsv1_client_write.c217 csecret_len = conn->dh_p_len; in tlsv1_key_x_anon_dh()
247 dh_yc_len = conn->dh_p_len; in tlsv1_key_x_anon_dh()
259 conn->dh_p, conn->dh_p_len, in tlsv1_key_x_anon_dh()
286 shared_len = conn->dh_p_len; in tlsv1_key_x_anon_dh()
300 conn->dh_p, conn->dh_p_len, in tlsv1_key_x_anon_dh()
Dtlsv1_client_i.h58 size_t dh_p_len; member
Dtlsv1_cred.c314 cred->dh_p_len = hdr.length; in tlsv1_set_dhparams_der()
Dtlsv1_server_read.c627 shared_len = conn->cred->dh_p_len; in tls_process_client_key_exchange_dh_anon()
640 conn->cred->dh_p, conn->cred->dh_p_len, in tls_process_client_key_exchange_dh_anon()
/external/wpa_supplicant_8/src/tls/
Dtlsv1_server_write.c282 conn->dh_secret_len = conn->cred->dh_p_len; in tls_write_server_key_exchange()
317 dh_ys_len = conn->cred->dh_p_len; in tls_write_server_key_exchange()
328 conn->cred->dh_p, conn->cred->dh_p_len, in tls_write_server_key_exchange()
376 if (pos + 2 + conn->cred->dh_p_len > end) { in tls_write_server_key_exchange()
384 WPA_PUT_BE16(pos, conn->cred->dh_p_len); in tls_write_server_key_exchange()
386 os_memcpy(pos, conn->cred->dh_p, conn->cred->dh_p_len); in tls_write_server_key_exchange()
387 pos += conn->cred->dh_p_len; in tls_write_server_key_exchange()
Dtlsv1_client_read.c423 conn->dh_p_len = WPA_GET_BE16(pos); in tlsv1_process_diffie_hellman()
425 if (conn->dh_p_len == 0 || end - pos < (int) conn->dh_p_len) { in tlsv1_process_diffie_hellman()
427 (unsigned long) conn->dh_p_len); in tlsv1_process_diffie_hellman()
430 conn->dh_p = os_malloc(conn->dh_p_len); in tlsv1_process_diffie_hellman()
433 os_memcpy(conn->dh_p, pos, conn->dh_p_len); in tlsv1_process_diffie_hellman()
434 pos += conn->dh_p_len; in tlsv1_process_diffie_hellman()
436 conn->dh_p, conn->dh_p_len); in tlsv1_process_diffie_hellman()
Dtlsv1_cred.h25 size_t dh_p_len; member
Dtlsv1_client_write.c217 csecret_len = conn->dh_p_len; in tlsv1_key_x_anon_dh()
247 dh_yc_len = conn->dh_p_len; in tlsv1_key_x_anon_dh()
259 conn->dh_p, conn->dh_p_len, in tlsv1_key_x_anon_dh()
286 shared_len = conn->dh_p_len; in tlsv1_key_x_anon_dh()
300 conn->dh_p, conn->dh_p_len, in tlsv1_key_x_anon_dh()
Dtlsv1_client_i.h59 size_t dh_p_len; member
Dtlsv1_server_read.c626 shared_len = conn->cred->dh_p_len; in tls_process_client_key_exchange_dh_anon()
639 conn->cred->dh_p, conn->cred->dh_p_len, in tls_process_client_key_exchange_dh_anon()
Dtlsv1_cred.c385 cred->dh_p_len = hdr.length; in tlsv1_set_dhparams_der()
/external/wpa_supplicant/
Dtlsv1_client.c76 size_t dh_p_len; member
646 conn->dh_p_len = WPA_GET_BE16(pos); in tlsv1_process_diffie_hellman()
648 if (conn->dh_p_len == 0 || end - pos < (int) conn->dh_p_len) in tlsv1_process_diffie_hellman()
650 conn->dh_p = os_malloc(conn->dh_p_len); in tlsv1_process_diffie_hellman()
653 os_memcpy(conn->dh_p, pos, conn->dh_p_len); in tlsv1_process_diffie_hellman()
654 pos += conn->dh_p_len; in tlsv1_process_diffie_hellman()
656 conn->dh_p, conn->dh_p_len); in tlsv1_process_diffie_hellman()
1226 csecret_len = conn->dh_p_len; in tlsv1_key_x_anon_dh()
1256 dh_yc_len = conn->dh_p_len; in tlsv1_key_x_anon_dh()
1268 conn->dh_p, conn->dh_p_len, in tlsv1_key_x_anon_dh()
[all …]