EVP_MD_CTX_get0_md

Return the digest method currently associated with a digest context.

Synopsis

Declared in <openssl/evp.h>

EVP_MD const*
EVP_MD_CTX_get0_md(EVP_MD_CTX const* ctx);

Return Value

Internal EVP_MD pointer (do not free), or NULL if unset.

Parameters

NameDescription
ctxDigest context to query.