[][src]Function hactool_sys::mbedtls_cipher_cmac_reset

pub unsafe extern "C" fn mbedtls_cipher_cmac_reset(
    ctx: *mut mbedtls_cipher_context_t
) -> c_int

\brief Prepare to authenticate a new message with the same key. Called after mbedtls_cipher_cmac_finish() and before mbedtls_cipher_cmac_update().

\param ctx CMAC context to be reset

\returns 0 on success, MBEDTLS_ERR_MD_BAD_INPUT_DATA if parameter verification fails.