Copy the cipher state from one context into another.
Synopsis
Declared in <openssl/evp.h>
int
EVP_CIPHER_CTX_copy(
EVP_CIPHER_CTX* out,
EVP_CIPHER_CTX const* in);
Return Value
1 on success, or 0 on failure.
Parameters
Name |
Description |
out |
Destination context; must already be allocated and is reset as needed. |
in |
Source context whose algorithm state is duplicated. |
Created with MrDocs