Home | History | Annotate | Download | only in dh

Lines Matching refs:DH

63 #include <openssl/dh.h>
67 /* DH pkey context structure */
163 DH *dh = NULL;
174 dh = DH_new();
175 if (!dh)
177 ret = DH_generate_parameters_ex(dh,
180 EVP_PKEY_assign_DH(pkey, dh);
182 DH_free(dh);
188 DH *dh = NULL;
194 dh = DH_new();
195 if (!dh)
197 EVP_PKEY_assign_DH(pkey, dh);
201 return DH_generate_key(pkey->pkey.dh);
212 ret = DH_compute_key(key, ctx->peerkey->pkey.dh->pub_key,
213 ctx->pkey->pkey.dh);