Function esp_idf_svc::sys::mbedtls_md_hmac_reset

source ยท
pub unsafe extern "C" fn mbedtls_md_hmac_reset(
    ctx: *mut mbedtls_md_context_t,
) -> i32
Expand description

\brief This function prepares to authenticate a new message with the same key as the previous HMAC operation.

             You may call this function after mbedtls_md_hmac_finish().
             Afterwards call mbedtls_md_hmac_update() to pass the new
             input.

\param ctx The message digest context containing an embedded HMAC context.

\return \c 0 on success. \return #MBEDTLS_ERR_MD_BAD_INPUT_DATA on parameter-verification failure.