Searched refs:plaintext (Results 1 – 1 of 1) sorted by relevance
130 std::vector<uint8_t> plaintext; member308 static bool WriteTestFile(const std::vector<uint8_t> &plaintext, in WriteTestFile() argument313 << plaintext.size() << " bytes of data"; in WriteTestFile()320 if (!android::base::WriteFully(fd, plaintext.data(), plaintext.size())) { in WriteTestFile()326 if (!ReadRawDataOfFile(fd, blk_device, plaintext.size(), ciphertext)) { in WriteTestFile()572 info->plaintext.resize(kTestFileBytes); in GenerateTestFile()573 RandomBytesForTesting(info->plaintext); in GenerateTestFile()575 if (!WriteTestFile(info->plaintext, kTestFile, fs_info_.raw_blk_device, in GenerateTestFile()697 const std::vector<uint8_t> &plaintext = file_info.plaintext; in VerifyCiphertext() local702 std::vector<uint8_t> computed_ciphertext(plaintext.size()); in VerifyCiphertext()[all …]