Function mbedtls_cipher_cmac_update

Source
pub unsafe extern "C" fn mbedtls_cipher_cmac_update(
    ctx: *mut mbedtls_cipher_context_t,
    input: *const c_uchar,
    ilen: usize,
) -> c_int
Expand description

\brief Generic CMAC process buffer. Called between mbedtls_cipher_cmac_starts() or mbedtls_cipher_cmac_reset() and mbedtls_cipher_cmac_finish(). May be called repeatedly.

\param ctx CMAC context \param input buffer holding the data \param ilen length of the input data

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