Searched refs:dh_g (Results 1 – 7 of 7) sorted by relevance
25 u8 *dh_g; /* generator */ member
58 u8 *dh_g; member
38 os_free(cred->dh_g); in tlsv1_cred_free()1122 os_free(cred->dh_g); in tlsv1_set_dhparams_der()1123 cred->dh_g = os_memdup(hdr.payload, hdr.length); in tlsv1_set_dhparams_der()1124 if (cred->dh_g == NULL) in tlsv1_set_dhparams_der()
398 conn->cred->dh_g == NULL) { in tls_write_server_key_exchange()450 if (crypto_mod_exp(conn->cred->dh_g, conn->cred->dh_g_len, in tls_write_server_key_exchange()524 os_memcpy(pos, conn->cred->dh_g, conn->cred->dh_g_len); in tls_write_server_key_exchange()
715 conn->dh_g = os_memdup(pos, conn->dh_g_len); in tlsv1_process_diffie_hellman()716 if (conn->dh_g == NULL) in tlsv1_process_diffie_hellman()720 conn->dh_g, conn->dh_g_len); in tlsv1_process_diffie_hellman()721 if (conn->dh_g_len == 1 && conn->dh_g[0] < 2) in tlsv1_process_diffie_hellman()
35 os_free(conn->dh_g); in tlsv1_client_free_dh()37 conn->dh_p = conn->dh_g = conn->dh_ys = NULL; in tlsv1_client_free_dh()
392 if (crypto_mod_exp(conn->dh_g, conn->dh_g_len, in tlsv1_key_x_dh()