Home
last modified time | relevance | path

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

/test/vts-testcase/kernel/encryption/
Dfile_based_encryption_tests.cpp458 std::vector<uint8_t> master_key, exported_key; in CreateAndSetHwWrappedKey() local
459 if (!CreateHwWrappedKey(&master_key, &exported_key)) return false; in CreateAndSetHwWrappedKey()
461 if (!SetMasterKey(exported_key, __FSCRYPT_ADD_KEY_FLAG_HW_WRAPPED, false)) { in CreateAndSetHwWrappedKey()
1003 std::vector<uint8_t> master_key, exported_key; in TEST_F() local
1004 if (!CreateHwWrappedKey(&master_key, &exported_key)) return; in TEST_F()
1006 for (int i = 0; i < exported_key.size(); i++) { in TEST_F()
1007 std::vector<uint8_t> corrupt_key(exported_key.begin(), exported_key.end()); in TEST_F()
Dmetadata_encryption_tests.cpp281 std::vector<uint8_t> master_key, exported_key; in TEST_F() local
282 if (!CreateHwWrappedKey(&master_key, &exported_key)) return; in TEST_F()
284 if (!CreateTestDevice("aes-xts-plain64", exported_key, true)) return; in TEST_F()
Dutils.cpp336 std::vector<uint8_t> *exported_key) { in CreateHwWrappedKey() argument
352 exported_key->assign(exported_key_string.begin(), in CreateHwWrappedKey()
Dvts_kernel_encryption.h111 std::vector<uint8_t> *exported_key);