Attach or clear the EVP_PKEY_CTX owned by a digest context (for DigestSign/DigestVerify).

Synopsis

Declared in <openssl/evp.h>

void
EVP_MD_CTX_set_pkey_ctx(
    EVP_MD_CTX* ctx,
    EVP_PKEY_CTX* pctx);

Parameters

Name

Description

ctx

Digest context that will hold pctx.

pctx

Key context to assign; ownership is transferred to ctx. Pass NULL to clear.

Created with MrDocs