Lines Matching defs:dhx
133 int_dhx942_dh *dhx = NULL;
138 dhx = d2i_int_dhx(NULL, pp, length);
139 if (!dhx) {
150 dh->p = dhx->p;
151 dh->q = dhx->q;
152 dh->g = dhx->g;
153 dh->j = dhx->j;
155 if (dhx->vparams) {
156 dh->seed = dhx->vparams->seed->data;
157 dh->seedlen = dhx->vparams->seed->length;
158 dh->counter = dhx->vparams->counter;
159 dhx->vparams->seed->data = NULL;
160 ASN1_BIT_STRING_free(dhx->vparams->seed);
161 OPENSSL_free(dhx->vparams);
162 dhx->vparams = NULL;
165 OPENSSL_free(dhx);
171 int_dhx942_dh dhx;
174 dhx.p = dh->p;
175 dhx.g = dh->g;
176 dhx.q = dh->q;
177 dhx.j = dh->j;
184 dhx.vparams = &dhv;
186 dhx.vparams = NULL;
188 return i2d_int_dhx(&dhx, pp);