Home
last modified time | relevance | path

Searched refs:dh_g_len (Results 1 – 6 of 6) sorted by relevance

/hal_espressif-3.6.0/components/wpa_supplicant/src/tls/
Dtlsv1_client_read.c443 conn->dh_g_len = WPA_GET_BE16(pos); in tlsv1_process_diffie_hellman()
445 if (conn->dh_g_len == 0 || end - pos < (int) conn->dh_g_len) in tlsv1_process_diffie_hellman()
447 conn->dh_g = os_malloc(conn->dh_g_len); in tlsv1_process_diffie_hellman()
450 os_memcpy(conn->dh_g, pos, conn->dh_g_len); in tlsv1_process_diffie_hellman()
451 pos += conn->dh_g_len; in tlsv1_process_diffie_hellman()
453 conn->dh_g, conn->dh_g_len); in tlsv1_process_diffie_hellman()
454 if (conn->dh_g_len == 1 && conn->dh_g[0] < 2) in tlsv1_process_diffie_hellman()
Dtlsv1_server_write.c324 if (crypto_mod_exp(conn->cred->dh_g, conn->cred->dh_g_len, in tls_write_server_key_exchange()
389 if (pos + 2 + conn->cred->dh_g_len > end) { in tls_write_server_key_exchange()
397 WPA_PUT_BE16(pos, conn->cred->dh_g_len); in tls_write_server_key_exchange()
399 os_memcpy(pos, conn->cred->dh_g, conn->cred->dh_g_len); in tls_write_server_key_exchange()
400 pos += conn->cred->dh_g_len; in tls_write_server_key_exchange()
Dtlsv1_cred.h21 size_t dh_g_len; member
Dtlsv1_client_i.h56 size_t dh_g_len; member
Dtlsv1_cred.c417 cred->dh_g_len = hdr.length; in tlsv1_set_dhparams_der()
Dtlsv1_client_write.c286 if(crypto_mod_exp(conn->dh_g, conn->dh_g_len, in tlsv1_key_x_anon_dh()