Searched refs:keymaster (Results 1 – 1 of 1) sorted by relevance
/test/vts-testcase/kernel/encryption/ |
D | utils.cpp | 309 static bool TryPrepareHwWrappedKey(Keymaster &keymaster, in TryPrepareHwWrappedKey() argument 322 if (keymaster.importKey(paramBuilder, master_key_string, &wrapped_key_blob) && in TryPrepareHwWrappedKey() 323 keymaster.exportKey(wrapped_key_blob, exported_key_string)) { in TryPrepareHwWrappedKey() 328 if (keymaster.generateKey(paramBuilder, &wrapped_key_blob) && in TryPrepareHwWrappedKey() 329 keymaster.exportKey(wrapped_key_blob, exported_key_string)) { in TryPrepareHwWrappedKey() 339 Keymaster keymaster; in CreateHwWrappedKey() local 340 if (!keymaster) { in CreateHwWrappedKey() 348 if (TryPrepareHwWrappedKey(keymaster, master_key_string, &exported_key_string, in CreateHwWrappedKey() 350 TryPrepareHwWrappedKey(keymaster, master_key_string, &exported_key_string, in CreateHwWrappedKey()
|