Searched refs:tpm_handle (Results 1 - 10 of 10) sorted by relevance
/system/tpm/tpm_manager/server/ |
H A D | tpm_connection.cc | 49 TSS_HTPM tpm_handle; local 51 &tpm_handle))) { 55 return tpm_handle; 59 TSS_HTPM tpm_handle = GetTpm(); local 60 if (tpm_handle == 0) { 65 if (TPM_ERROR(result = Tspi_GetPolicyObject(tpm_handle, 79 return tpm_handle;
|
H A D | tpm_initializer_impl.h | 56 // if not. Returns true on success, else false. |tpm_handle| is a handle to 58 bool InitializeEndorsementKey(TSS_HTPM tpm_handle); 61 // Returns true on success, else false. |tpm_handle| is a handle to the Tpm 63 bool TakeOwnership(TSS_HTPM tpm_handle); 67 // |tpm_handle| is a handle to the Tpm with the owner_password injected. 68 bool InitializeSrk(TSS_HTPM tpm_handle); 72 // Returns true on success, else false. |tpm_handle| is a handle to the Tpm 74 bool ChangeOwnerPassword(TSS_HTPM tpm_handle,
|
H A D | tpm_initializer_impl.cc | 53 TSS_HTPM tpm_handle = tpm_connection_.GetTpm(); local 54 if (tpm_handle == 0) { 57 if (!InitializeEndorsementKey(tpm_handle) || 58 !TakeOwnership(tpm_handle) || 59 !InitializeSrk(tpm_handle)) { 76 if (!ChangeOwnerPassword(tpm_handle, owner_password)) { 82 bool TpmInitializerImpl::InitializeEndorsementKey(TSS_HTPM tpm_handle) { argument 84 TSS_RESULT result = Tspi_TPM_GetPubEndorsementKey(tpm_handle, 101 if (TPM_ERROR(result = Tspi_TPM_CreateEndorsementKey(tpm_handle, 110 bool TpmInitializerImpl::TakeOwnership(TSS_HTPM tpm_handle) { argument 162 InitializeSrk(TSS_HTPM tpm_handle) argument 217 ChangeOwnerPassword( TSS_HTPM tpm_handle, const std::string& owner_password) argument 246 TSS_HTPM tpm_handle = tpm_connection_.GetTpmWithAuth(owner_password); local [all...] |
H A D | tpm_status_impl.cc | 95 TSS_HTPM tpm_handle = tpm_connection_.GetTpm(); local 96 if (tpm_handle == 0) { 102 tpm_handle, capability, sizeof(uint32_t),
|
/system/tpm/trunks/ |
H A D | resource_manager.cc | 127 TPM_HANDLE tpm_handle; local 128 result = ProcessInputHandle(command_info, handle, &tpm_handle); 132 updated_handles.push_back(tpm_handle); 213 info.tpm_handle) == sessions_to_retain.end()) { 237 virtual_object_handles_[flushed_handle].tpm_handle); 311 result = factory_.GetTpm()->FlushContextSync(info.tpm_handle, nullptr); 317 tpm_object_handles_.erase(info.tpm_handle); 318 VLOG(1) << "EVICT_OBJECT: " << std::hex << info.tpm_handle; 472 &handle_info->tpm_handle, 717 actual_handle = iter->second.tpm_handle; [all...] |
H A D | resource_manager_test.cc | 311 TPM_HANDLE tpm_handle = kArbitraryObjectHandle; local 312 TPM_HANDLE virtual_handle = LoadHandle(tpm_handle); 319 // |tpm_handle|. 320 std::vector<TPM_HANDLE> expected_input_handles = {tpm_handle}; 336 TPM_HANDLE tpm_handle = kArbitraryObjectHandle; local 337 TPM_HANDLE virtual_handle = LoadHandle(tpm_handle); 345 Serialize_TPM_HANDLE(tpm_handle, &expected_parameters); 368 // Try again but attempt to flush |tpm_handle| instead of |virtual_handle|. 369 virtual_handle = LoadHandle(tpm_handle); 371 Serialize_TPM_HANDLE(tpm_handle, 382 TPM_HANDLE tpm_handle = kArbitraryObjectHandle; local 576 TPM_HANDLE tpm_handle = kArbitraryObjectHandle; local [all...] |
H A D | resource_manager.h | 87 TPM_HANDLE tpm_handle; member in struct:trunks::ResourceManager::HandleInfo
|
H A D | Android.mk | 115 tpm_handle.cc \
|
/system/tpm/attestation/common/ |
H A D | tpm_utility_v1.h | 68 // Populates |context_handle| with a valid TSS_HCONTEXT and |tpm_handle| with 72 TSS_HTPM* tpm_handle); 74 // Populates |context_handle| with a valid TSS_HCONTEXT and |tpm_handle| with
|
H A D | tpm_utility_v1.cc | 119 TSS_HTPM tpm_handle; local 121 &context_handle, &tpm_handle)) { 154 result = Tspi_TPM_ActivateIdentity(tpm_handle, identity_key,
|
Completed in 176 milliseconds