Lines Matching refs:from
321 static int int_dh_param_copy(DH *to, const DH *from, int is_x942)
324 is_x942 = (from->params.q != NULL);
325 if (!ossl_ffc_params_copy(&to->params, &from->params))
328 to->length = from->length;
346 static int dh_copy_parameters(EVP_PKEY *to, const EVP_PKEY *from)
353 return int_dh_param_copy(to->pkey.dh, from->pkey.dh,
354 from->ameth == &ossl_dhx_asn1_meth);
452 static int dh_pkey_export_to(const EVP_PKEY *from, void *to_keydata,
456 DH *dh = from->pkey.dh;
542 static int dh_pkey_copy(EVP_PKEY *to, EVP_PKEY *from)
544 DH *dh = from->pkey.dh;
554 ret = EVP_PKEY_assign(to, from->type, dupkey);