Lines Matching refs:dh
64 DH *dh; member
101 int key_approved = ossl_dh_check_key(ctx->dh); in dh_check_key()
131 DH_free(pdhctx->dh); in dh_init()
132 pdhctx->dh = vdh; in dh_init()
167 || !dh_match_params(vdh, pdhctx->dh) in dh_set_peer()
184 if (pdhctx->dh == NULL || pdhctx->dhpeer == NULL) { in dh_plain_derive()
189 dhsize = (size_t)DH_size(pdhctx->dh); in dh_plain_derive()
201 ret = DH_compute_key_padded(secret, pub_key, pdhctx->dh); in dh_plain_derive()
203 ret = DH_compute_key(secret, pub_key, pdhctx->dh); in dh_plain_derive()
278 DH_free(pdhctx->dh); in dh_freectx()
299 dstctx->dh = NULL; in dh_dupctx()
305 if (srcctx->dh != NULL && !DH_up_ref(srcctx->dh)) in dh_dupctx()
308 dstctx->dh = srcctx->dh; in dh_dupctx()