Return the EVP_MAC associated with a MAC context.

Synopsis

Declared in <openssl/evp.h>

EVP_MAC*
EVP_MAC_CTX_get0_mac(EVP_MAC_CTX* ctx);

Return Value

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

Parameters

Name

Description

ctx

MAC context to query.

Created with MrDocs