Searched refs:dh_pub (Results 1 – 3 of 3) sorted by relevance
36 void gen_kexdh_vals(mp_int *dh_pub, mp_int *dh_priv);
474 void gen_kexdh_vals(mp_int *dh_pub, mp_int *dh_priv) { in gen_kexdh_vals() argument504 if (mp_exptmod(&dh_g, dh_priv, &dh_p, dh_pub) != MP_OKAY) { in gen_kexdh_vals()
2471 BIGNUM *dh_pub = NULL; local2478 if (eay_v2bn(&dh_pub, pub2) < 0)2500 if ((l = DH_compute_key(v, dh_pub, dh)) == -1)2507 if (dh_pub != NULL)2508 BN_free(dh_pub);