Lines Matching defs:dh
64 #include <openssl/dh.h>
159 DH *dh = NULL;
168 dh = DH_new();
169 if (!dh)
171 ret = DH_generate_parameters_ex(dh,
174 EVP_PKEY_assign_DH(pkey, dh);
176 DH_free(dh);
182 DH *dh = NULL;
187 dh = DH_new();
188 if (!dh)
190 EVP_PKEY_assign_DH(pkey, dh);
194 return DH_generate_key(pkey->pkey.dh);
205 ret = DH_compute_key(key, ctx->peerkey->pkey.dh->pub_key,
206 ctx->pkey->pkey.dh);