Function esp_idf_svc::sys::mbedtls_cipher_cmac_reset
source ยท pub unsafe extern "C" fn mbedtls_cipher_cmac_reset(
ctx: *mut mbedtls_cipher_context_t,
) -> i32
Expand description
\brief This function starts a new CMAC operation with the same key as the previous one.
It should be called after finishing the previous CMAC
operation with mbedtls_cipher_cmac_finish().
After calling this function,
call mbedtls_cipher_cmac_update() to supply the new
CMAC operation with data.
\param ctx The cipher context used for the CMAC operation.
\return \c 0 on success. \return #MBEDTLS_ERR_MD_BAD_INPUT_DATA if parameter verification fails.