Lines Matching refs:dhx
96 int_dhx942_dh *dhx = NULL;
102 dhx = d2i_int_dhx(NULL, pp, length);
103 if (dhx == NULL) {
114 DH_set0_pqg(dh, dhx->p, dhx->q, dhx->g);
115 ossl_ffc_params_set0_j(params, dhx->j);
117 if (dhx->vparams != NULL) {
119 size_t counter = (size_t)BN_get_word(dhx->vparams->counter);
120 ossl_ffc_params_set_validate_params(params, dhx->vparams->seed->data,
121 dhx->vparams->seed->length,
123 ASN1_BIT_STRING_free(dhx->vparams->seed);
124 BN_free(dhx->vparams->counter);
125 OPENSSL_free(dhx->vparams);
126 dhx->vparams = NULL;
129 OPENSSL_free(dhx);
138 int_dhx942_dh dhx;
145 ossl_ffc_params_get0_pqg(params, (const BIGNUM **)&dhx.p,
146 (const BIGNUM **)&dhx.q, (const BIGNUM **)&dhx.g);
147 dhx.j = params->j;
159 dhx.vparams = &dhv;
161 dhx.vparams = NULL;
163 ret = i2d_int_dhx(&dhx, pp);