Get the message digest associated with an HMAC context.

Synopsis

Declared in <openssl/hmac.h>

[[deprecated]]
EVP_MD const*
HMAC_CTX_get_md(HMAC_CTX const* ctx);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

Digest method, or NULL if unset.

Parameters

Name

Description

ctx

HMAC context to query.

Created with MrDocs