EVP_PKEY_CTX_dup

Duplicate a public-key algorithm context (not supported during keygen).

Synopsis

Declared in <openssl/evp.h>

EVP_PKEY_CTX*
EVP_PKEY_CTX_dup(EVP_PKEY_CTX const* ctx);

Return Value

Newly allocated copy, or NULL on failure.

Parameters

NameDescription
ctxSource context to copy.