Searched refs:dh_g (Results 1 – 7 of 7) sorted by relevance
/hal_espressif-2.7.6/components/wpa_supplicant/src/tls/ |
D | tlsv1_cred.c | 34 os_free(cred->dh_g); in tlsv1_cred_free() 412 os_free(cred->dh_g); in tlsv1_set_dhparams_der() 413 cred->dh_g = os_malloc(hdr.length); in tlsv1_set_dhparams_der() 414 if (cred->dh_g == NULL) in tlsv1_set_dhparams_der() 416 os_memcpy(cred->dh_g, hdr.payload, hdr.length); in tlsv1_set_dhparams_der()
|
D | tlsv1_cred.h | 20 u8 *dh_g; /* generator */ member
|
D | tlsv1_client_i.h | 55 u8 *dh_g; member
|
D | tlsv1_client_read.c | 447 conn->dh_g = os_malloc(conn->dh_g_len); in tlsv1_process_diffie_hellman() 448 if (conn->dh_g == NULL) in tlsv1_process_diffie_hellman() 450 os_memcpy(conn->dh_g, 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()
|
D | tlsv1_server_write.c | 273 conn->cred->dh_g == NULL) { in tls_write_server_key_exchange() 324 if (crypto_mod_exp(conn->cred->dh_g, 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()
|
D | tlsv1_client.c | 34 os_free(conn->dh_g); in tlsv1_client_free_dh() 36 conn->dh_p = conn->dh_g = conn->dh_ys = NULL; in tlsv1_client_free_dh()
|
D | tlsv1_client_write.c | 286 if(crypto_mod_exp(conn->dh_g, conn->dh_g_len, in tlsv1_key_x_anon_dh()
|