EVP_MAC_CTX_set_params

Apply an OSSL_PARAM array of parameters to a MAC context.

Synopsis

Declared in <openssl/evp.h>

int
EVP_MAC_CTX_set_params(
    EVP_MAC_CTX* ctx,
    OSSL_PARAM const params[]);

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
ctxMAC context to update.
paramsParameter array terminated by OSSL_PARAM_construct_end().