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