[#EVP_CIPHER_CTX_copy] = EVP_CIPHER_CTX_copy :mrdocs: Copy the cipher state from one context into another. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_CIPHER_CTX_copy( xref:EVP_CIPHER_CTX.adoc[EVP_CIPHER_CTX]* out, xref:EVP_CIPHER_CTX.adoc[EVP_CIPHER_CTX] const* in); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *out* | Destination context; must already be allocated and is reset as needed. | *in* | Source context whose algorithm state is duplicated. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#