Home
last modified time | relevance | path

Searched refs:file_info (Results 1 – 1 of 1) sorted by relevance

/test/vts-testcase/kernel/encryption/
Dfile_based_encryption_tests.cpp362 const TestFileInfo &file_info);
696 const TestFileInfo &file_info) { in VerifyCiphertext() argument
697 const std::vector<uint8_t> &plaintext = file_info.plaintext; in VerifyCiphertext()
717 ASSERT_EQ(file_info.actual_ciphertext, computed_ciphertext); in VerifyCiphertext()
762 TestFileInfo file_info; in TEST_F() local
763 ASSERT_TRUE(GenerateTestFile(&file_info)); in TEST_F()
766 ASSERT_TRUE(DerivePerFileEncryptionKey(master_key, file_info.nonce, enc_key)); in TEST_F()
770 VerifyCiphertext(enc_key, iv, Aes256XtsCipher(), file_info); in TEST_F()
788 TestFileInfo file_info; in TEST_F() local
789 ASSERT_TRUE(GenerateTestFile(&file_info)); in TEST_F()
[all …]