Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/tls/
Dtlsv1_server_write.c279 conn->dh_secret_len = conn->cred->dh_p_len; in tls_write_server_key_exchange()
314 dh_ys_len = conn->cred->dh_p_len; in tls_write_server_key_exchange()
325 conn->cred->dh_p, conn->cred->dh_p_len, in tls_write_server_key_exchange()
373 if (pos + 2 + conn->cred->dh_p_len > end) { in tls_write_server_key_exchange()
381 WPA_PUT_BE16(pos, conn->cred->dh_p_len); in tls_write_server_key_exchange()
383 os_memcpy(pos, conn->cred->dh_p, conn->cred->dh_p_len); in tls_write_server_key_exchange()
384 pos += conn->cred->dh_p_len; in tls_write_server_key_exchange()
Dtlsv1_client_read.c424 conn->dh_p_len = WPA_GET_BE16(pos); in tlsv1_process_diffie_hellman()
426 if (conn->dh_p_len == 0 || end - pos < (int) conn->dh_p_len) { in tlsv1_process_diffie_hellman()
428 (unsigned long) conn->dh_p_len); in tlsv1_process_diffie_hellman()
431 conn->dh_p = os_malloc(conn->dh_p_len); in tlsv1_process_diffie_hellman()
434 os_memcpy(conn->dh_p, pos, conn->dh_p_len); in tlsv1_process_diffie_hellman()
435 pos += conn->dh_p_len; in tlsv1_process_diffie_hellman()
437 conn->dh_p, conn->dh_p_len); in tlsv1_process_diffie_hellman()
Dtlsv1_cred.h19 size_t dh_p_len; member
Dtlsv1_client_write.c214 csecret_len = conn->dh_p_len; in tlsv1_key_x_anon_dh()
244 dh_yc_len = conn->dh_p_len; in tlsv1_key_x_anon_dh()
256 conn->dh_p, conn->dh_p_len, in tlsv1_key_x_anon_dh()
283 shared_len = conn->dh_p_len; in tlsv1_key_x_anon_dh()
297 conn->dh_p, conn->dh_p_len, in tlsv1_key_x_anon_dh()
Dtlsv1_client_i.h53 size_t dh_p_len; member
Dtlsv1_cred.c398 cred->dh_p_len = hdr.length; in tlsv1_set_dhparams_der()
Dtlsv1_server_read.c644 shared_len = conn->cred->dh_p_len; in tls_process_client_key_exchange_dh_anon()
657 conn->cred->dh_p, conn->cred->dh_p_len, in tls_process_client_key_exchange_dh_anon()