Searched refs:plaintext (Results 1 – 1 of 1) sorted by relevance
130 std::vector<uint8_t> plaintext; member305 static bool WriteTestFile(const std::vector<uint8_t> &plaintext, in WriteTestFile() argument310 << plaintext.size() << " bytes of data"; in WriteTestFile()317 if (!android::base::WriteFully(fd, plaintext.data(), plaintext.size())) { in WriteTestFile()323 if (!ReadRawDataOfFile(fd, blk_device, plaintext.size(), ciphertext)) { in WriteTestFile()569 info->plaintext.resize(kTestFileBytes); in GenerateTestFile()570 RandomBytesForTesting(info->plaintext); in GenerateTestFile()572 if (!WriteTestFile(info->plaintext, kTestFile, fs_info_.raw_blk_device, in GenerateTestFile()694 const std::vector<uint8_t> &plaintext = file_info.plaintext; in VerifyCiphertext() local699 std::vector<uint8_t> computed_ciphertext(plaintext.size()); in VerifyCiphertext()[all …]