Lines Matching refs:dh
38 DH *dh = (DH *)*pval; in dh_cb() local
40 DH_clear_flags(dh, DH_FLAG_TYPE_MASK); in dh_cb()
41 DH_set_flags(dh, DH_FLAG_TYPE_DH); in dh_cb()
42 ossl_dh_cache_named_group(dh); in dh_cb()
43 dh->dirty_cnt++; in dh_cb()
97 DH *dh = NULL; in IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname() local
99 dh = DH_new(); in IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname()
100 if (dh == NULL) in IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname()
104 DH_free(dh); in IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname()
110 *a = dh; in IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname()
113 params = &dh->params; in IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname()
114 DH_set0_pqg(dh, dhx->p, dhx->q, dhx->g); in IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname()
130 DH_clear_flags(dh, DH_FLAG_TYPE_MASK); in IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname()
131 DH_set_flags(dh, DH_FLAG_TYPE_DHX); in IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname()
132 return dh; in IMPLEMENT_ASN1_ENCODE_FUNCTIONS_fname()
135 int i2d_DHxparams(const DH *dh, unsigned char **pp) in i2d_DHxparams() argument
142 const FFC_PARAMS *params = &dh->params; in i2d_DHxparams()