Lines Matching refs:dst
161 static int ffc_bn_cpy(BIGNUM **dst, const BIGNUM *src) in ffc_bn_cpy() argument
176 BN_clear_free(*dst); in ffc_bn_cpy()
177 *dst = a; in ffc_bn_cpy()
181 int ossl_ffc_params_copy(FFC_PARAMS *dst, const FFC_PARAMS *src) in ossl_ffc_params_copy() argument
183 if (!ffc_bn_cpy(&dst->p, src->p) in ossl_ffc_params_copy()
184 || !ffc_bn_cpy(&dst->g, src->g) in ossl_ffc_params_copy()
185 || !ffc_bn_cpy(&dst->q, src->q) in ossl_ffc_params_copy()
186 || !ffc_bn_cpy(&dst->j, src->j)) in ossl_ffc_params_copy()
189 dst->mdname = src->mdname; in ossl_ffc_params_copy()
190 dst->mdprops = src->mdprops; in ossl_ffc_params_copy()
191 OPENSSL_free(dst->seed); in ossl_ffc_params_copy()
192 dst->seedlen = src->seedlen; in ossl_ffc_params_copy()
194 dst->seed = OPENSSL_memdup(src->seed, src->seedlen); in ossl_ffc_params_copy()
195 if (dst->seed == NULL) in ossl_ffc_params_copy()
198 dst->seed = NULL; in ossl_ffc_params_copy()
200 dst->nid = src->nid; in ossl_ffc_params_copy()
201 dst->pcounter = src->pcounter; in ossl_ffc_params_copy()
202 dst->h = src->h; in ossl_ffc_params_copy()
203 dst->gindex = src->gindex; in ossl_ffc_params_copy()
204 dst->flags = src->flags; in ossl_ffc_params_copy()
205 dst->keylength = src->keylength; in ossl_ffc_params_copy()