pub unsafe extern "C" fn aes128_cmac_init(
ctx: *mut aes128_cmac_context_t,
key: *const u8,
key_size: u8,
) -> c_int
Expand description
@brief Initialize AES128 CMAC message digest context
@param[in] ctx Pointer to the AES128 CMAC context to initialize @param[in] key Key to be set @param[in] key_size Size of the key
@return CIPHER_INIT_SUCCESS if the initialization was successful. CIPHER_ERR_INVALID_KEY_SIZE if the key size is not valid.