[][src]Function hactool_sys::mbedtls_cipher_cmac

pub unsafe extern "C" fn mbedtls_cipher_cmac(
    cipher_info: *const mbedtls_cipher_info_t,
    key: *const c_uchar,
    keylen: usize,
    input: *const c_uchar,
    ilen: usize,
    output: *mut c_uchar
) -> c_int

\brief Output = Generic_CMAC( cmac key, input buffer )

\param cipher_info message digest info \param key CMAC key \param keylen length of the CMAC key in bits \param input buffer holding the data \param ilen length of the input data \param output Generic CMAC-result

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