[][src]Function hactool_sys::mbedtls_cipher_cmac_finish

pub unsafe extern "C" fn mbedtls_cipher_cmac_finish(
    ctx: *mut mbedtls_cipher_context_t,
    output: *mut c_uchar
) -> c_int

\brief Output CMAC. Called after mbedtls_cipher_cmac_update(). Usually followed by mbedtls_cipher_cmac_reset(), then mbedtls_cipher_cmac_starts(), or mbedtls_cipher_free().

\param ctx CMAC context \param output Generic CMAC checksum result

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