Lines Matching defs:dh
22 #include "crypto/dh.h"
38 DH *dh = (DH *)*pval;
40 DH_clear_flags(dh, DH_FLAG_TYPE_MASK);
41 DH_set_flags(dh, DH_FLAG_TYPE_DH);
42 ossl_dh_cache_named_group(dh);
43 dh->dirty_cnt++;
97 DH *dh = NULL;
99 dh = DH_new();
100 if (dh == NULL)
104 DH_free(dh);
110 *a = dh;
113 params = &dh->params;
114 DH_set0_pqg(dh, dhx->p, dhx->q, dhx->g);
130 DH_clear_flags(dh, DH_FLAG_TYPE_MASK);
131 DH_set_flags(dh, DH_FLAG_TYPE_DHX);
132 return dh;
135 int i2d_DHxparams(const DH *dh, unsigned char **pp)
142 const FFC_PARAMS *params = &dh->params;