Searched refs:exported_key (Results 1 – 4 of 4) sorted by relevance
/test/vts-testcase/kernel/encryption/ |
D | file_based_encryption_tests.cpp | 458 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()
|
D | metadata_encryption_tests.cpp | 281 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()
|
D | utils.cpp | 336 std::vector<uint8_t> *exported_key) { in CreateHwWrappedKey() argument 352 exported_key->assign(exported_key_string.begin(), in CreateHwWrappedKey()
|
D | vts_kernel_encryption.h | 111 std::vector<uint8_t> *exported_key);
|