Searched refs:vdh (Results 1 – 1 of 1) sorted by relevance
96 static int dh_init(void *vpdhctx, void *vdh, const OSSL_PARAM params[]) in dh_init() argument102 || vdh == NULL in dh_init()103 || !DH_up_ref(vdh)) in dh_init()106 pdhctx->dh = vdh; in dh_init()109 && ossl_dh_check_key(pdhctx->libctx, vdh); in dh_init()127 static int dh_set_peer(void *vpdhctx, void *vdh) in dh_set_peer() argument133 || vdh == NULL in dh_set_peer()134 || !dh_match_params(vdh, pdhctx->dh) in dh_set_peer()135 || !DH_up_ref(vdh)) in dh_set_peer()138 pdhctx->dhpeer = vdh; in dh_set_peer()