[#EVP_PKEY_copy_parameters]
= EVP&lowbar;PKEY&lowbar;copy&lowbar;parameters
:mrdocs:

Copy algorithm parameters from one EVP&lowbar;PKEY into another of the same type&period;

== Synopsis

Declared in `&lt;openssl&sol;evp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
EVP&lowbar;PKEY&lowbar;copy&lowbar;parameters(
    xref:EVP_PKEY.adoc[EVP&lowbar;PKEY]* to,
    xref:EVP_PKEY.adoc[EVP&lowbar;PKEY] const* from);
----

== Return Value

1 on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *to*
| Destination key that receives the parameters&period;
| *from*
| Source key whose parameters are copied&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
