Lines Matching refs:vdh
96 static int dh_init(void *vpdhctx, void *vdh, const OSSL_PARAM params[])
102 || vdh == NULL
103 || !DH_up_ref(vdh))
106 pdhctx->dh = vdh;
109 && ossl_dh_check_key(pdhctx->libctx, vdh);
127 static int dh_set_peer(void *vpdhctx, void *vdh)
133 || vdh == NULL
134 || !dh_match_params(vdh, pdhctx->dh)
135 || !DH_up_ref(vdh))
138 pdhctx->dhpeer = vdh;