Lines Matching defs:dh
56 DH *dh = DH_new();
58 if (!dh) {
61 dh->p = prime(NULL);
62 BN_dec2bn(&dh->g, gen);
63 if (!dh->p || !dh->g) {
64 DH_free(dh);
67 return dh;
73 DH *dh; /* ...this, used for keys.... */
89 dhparams[n].dh = make_dh_params(dhparams[n].prime, "2");
100 DH_free(dhparams[n].dh);
101 dhparams[n].dh = NULL;
118 return dhparams[n].dh;