Home
last modified time | relevance | path

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

/test/vts-testcase/kernel/encryption/
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()
Dfile_based_encryption_tests.cpp455 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()
Dutils.cpp337 std::vector<uint8_t> *exported_key) { in CreateHwWrappedKey() argument
353 exported_key->assign(exported_key_string.begin(), in CreateHwWrappedKey()
Dvts_kernel_encryption.h111 std::vector<uint8_t> *exported_key);