Searched refs:dh_p_len (Results 1 – 15 of 15) sorted by relevance
/external/wpa_supplicant_6/wpa_supplicant/src/tls/ |
D | tlsv1_server_write.c | 284 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()
|
D | tlsv1_client_read.c | 422 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()
|
D | tlsv1_cred.h | 25 size_t dh_p_len; member
|
D | tlsv1_client_write.c | 217 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()
|
D | tlsv1_client_i.h | 58 size_t dh_p_len; member
|
D | tlsv1_cred.c | 314 cred->dh_p_len = hdr.length; in tlsv1_set_dhparams_der()
|
D | tlsv1_server_read.c | 627 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/ |
D | tlsv1_server_write.c | 282 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()
|
D | tlsv1_client_read.c | 423 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()
|
D | tlsv1_cred.h | 25 size_t dh_p_len; member
|
D | tlsv1_client_write.c | 217 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()
|
D | tlsv1_client_i.h | 59 size_t dh_p_len; member
|
D | tlsv1_server_read.c | 626 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()
|
D | tlsv1_cred.c | 385 cred->dh_p_len = hdr.length; in tlsv1_set_dhparams_der()
|
/external/wpa_supplicant/ |
D | tlsv1_client.c | 76 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 …]
|