Lines Matching refs:data
5 // Uniitest for data encryption functions.
14 struct Data {
20 // (direct, don't reverse data byes, don't reverse CRC before final XOR)
24 } data[] = {
34 for (size_t i = 0; i < sizeof(data) / sizeof(data[0]); ++i) {
35 bytes = reinterpret_cast<unsigned char*>(data[i].string);
38 length = strlen(data[i].string);
42 EXPECT_TRUE(crc == data[i].external_crc);
47 data[i].string[data[i].random_byte] = data[i].corrupt_value;