EVP_MD_CTX_dup

Duplicate a digest context, including algorithm state and any associated key material.

Synopsis

Declared in <openssl/evp.h>

EVP_MD_CTX*
EVP_MD_CTX_dup(EVP_MD_CTX const* in);

Return Value

Newly allocated copy, or NULL on failure.

Parameters

NameDescription
inSource context to copy.