Searched refs:exported_key (Results 1 – 4 of 4) sorted by relevance
/test/vts-testcase/kernel/encryption/ |
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 | file_based_encryption_tests.cpp | 455 std::vector<uint8_t> master_key, exported_key; in CreateAndSetHwWrappedKey() local 456 if (!CreateHwWrappedKey(&master_key, &exported_key)) return false; in CreateAndSetHwWrappedKey() 458 if (!SetMasterKey(exported_key, __FSCRYPT_ADD_KEY_FLAG_HW_WRAPPED, false)) { in CreateAndSetHwWrappedKey() 1000 std::vector<uint8_t> master_key, exported_key; in TEST_F() local 1001 if (!CreateHwWrappedKey(&master_key, &exported_key)) return; in TEST_F() 1003 for (int i = 0; i < exported_key.size(); i++) { in TEST_F() 1004 std::vector<uint8_t> corrupt_key(exported_key.begin(), exported_key.end()); in TEST_F()
|
D | utils.cpp | 337 std::vector<uint8_t> *exported_key) { in CreateHwWrappedKey() argument 353 exported_key->assign(exported_key_string.begin(), in CreateHwWrappedKey()
|
D | vts_kernel_encryption.h | 111 std::vector<uint8_t> *exported_key);
|