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