Duplicate a cipher context, including its algorithm state.

Synopsis

Declared in <openssl/evp.h>

EVP_CIPHER_CTX*
EVP_CIPHER_CTX_dup(EVP_CIPHER_CTX const* in);

Return Value

Newly allocated copy, or NULL on error; free with EVP_CIPHER_CTX_free.

Parameters

Name

Description

in

Context to copy.

Created with MrDocs