Home
last modified time | relevance | path

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

/hal_espressif-3.6.0/components/wpa_supplicant/src/tls/
Dtlsv1_server_write.c280 conn->dh_secret_len = conn->cred->dh_p_len; in tls_write_server_key_exchange()
315 dh_ys_len = conn->cred->dh_p_len; in tls_write_server_key_exchange()
326 conn->cred->dh_p, conn->cred->dh_p_len, in tls_write_server_key_exchange()
375 if (pos + 2 + conn->cred->dh_p_len > end) { in tls_write_server_key_exchange()
383 WPA_PUT_BE16(pos, conn->cred->dh_p_len); in tls_write_server_key_exchange()
385 os_memcpy(pos, conn->cred->dh_p, conn->cred->dh_p_len); in tls_write_server_key_exchange()
386 pos += conn->cred->dh_p_len; in tls_write_server_key_exchange()
Dtlsv1_client_read.c426 conn->dh_p_len = WPA_GET_BE16(pos); in tlsv1_process_diffie_hellman()
428 if (conn->dh_p_len == 0 || end - pos < (int) conn->dh_p_len) { in tlsv1_process_diffie_hellman()
430 (unsigned long) conn->dh_p_len); in tlsv1_process_diffie_hellman()
433 conn->dh_p = os_malloc(conn->dh_p_len); in tlsv1_process_diffie_hellman()
436 os_memcpy(conn->dh_p, pos, conn->dh_p_len); in tlsv1_process_diffie_hellman()
437 pos += conn->dh_p_len; in tlsv1_process_diffie_hellman()
439 conn->dh_p, conn->dh_p_len); in tlsv1_process_diffie_hellman()
Dtlsv1_client_write.c246 csecret_len = conn->dh_p_len; in tlsv1_key_x_anon_dh()
276 dh_yc_len = conn->dh_p_len; in tlsv1_key_x_anon_dh()
288 conn->dh_p, conn->dh_p_len, in tlsv1_key_x_anon_dh()
315 shared_len = conn->dh_p_len; in tlsv1_key_x_anon_dh()
329 conn->dh_p, conn->dh_p_len, in tlsv1_key_x_anon_dh()
Dtlsv1_cred.h19 size_t dh_p_len; member
Dtlsv1_client_i.h53 size_t dh_p_len; member
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()
Dtlsv1_cred.c395 cred->dh_p_len = hdr.length; in tlsv1_set_dhparams_der()