Searched refs:tpm_handle (Results 1 – 11 of 11) sorted by relevance
/system/tpm/tpm_manager/server/ |
D | tpm_initializer_impl.cc | 53 TSS_HTPM tpm_handle = tpm_connection_.GetTpm(); in InitializeTpm() local 54 if (tpm_handle == 0) { in InitializeTpm() 57 if (!InitializeEndorsementKey(tpm_handle) || in InitializeTpm() 58 !TakeOwnership(tpm_handle) || in InitializeTpm() 59 !InitializeSrk(tpm_handle)) { in InitializeTpm() 76 if (!ChangeOwnerPassword(tpm_handle, owner_password)) { in InitializeTpm() 82 bool TpmInitializerImpl::InitializeEndorsementKey(TSS_HTPM tpm_handle) { in InitializeEndorsementKey() argument 84 TSS_RESULT result = Tspi_TPM_GetPubEndorsementKey(tpm_handle, in InitializeEndorsementKey() 101 if (TPM_ERROR(result = Tspi_TPM_CreateEndorsementKey(tpm_handle, in InitializeEndorsementKey() 110 bool TpmInitializerImpl::TakeOwnership(TSS_HTPM tpm_handle) { in TakeOwnership() argument [all …]
|
D | tpm_connection.cc | 49 TSS_HTPM tpm_handle; in GetTpm() local 51 &tpm_handle))) { in GetTpm() 55 return tpm_handle; in GetTpm() 59 TSS_HTPM tpm_handle = GetTpm(); in GetTpmWithAuth() local 60 if (tpm_handle == 0) { in GetTpmWithAuth() 65 if (TPM_ERROR(result = Tspi_GetPolicyObject(tpm_handle, in GetTpmWithAuth() 79 return tpm_handle; in GetTpmWithAuth()
|
D | tpm_initializer_impl.h | 58 bool InitializeEndorsementKey(TSS_HTPM tpm_handle); 63 bool TakeOwnership(TSS_HTPM tpm_handle); 68 bool InitializeSrk(TSS_HTPM tpm_handle); 74 bool ChangeOwnerPassword(TSS_HTPM tpm_handle,
|
D | tpm_status_impl.cc | 95 TSS_HTPM tpm_handle = tpm_connection_.GetTpm(); in GetCapability() local 96 if (tpm_handle == 0) { in GetCapability() 102 tpm_handle, capability, sizeof(uint32_t), in GetCapability()
|
/system/tpm/trunks/ |
D | resource_manager.cc | 127 TPM_HANDLE tpm_handle; in SendCommandAndWait() local 128 result = ProcessInputHandle(command_info, handle, &tpm_handle); in SendCommandAndWait() 132 updated_handles.push_back(tpm_handle); in SendCommandAndWait() 213 info.tpm_handle) == sessions_to_retain.end()) { in ChooseSessionToEvict() 237 virtual_object_handles_[flushed_handle].tpm_handle); in CleanupFlushedHandle() 311 result = factory_.GetTpm()->FlushContextSync(info.tpm_handle, nullptr); in EvictObjects() 317 tpm_object_handles_.erase(info.tpm_handle); in EvictObjects() 318 VLOG(1) << "EVICT_OBJECT: " << std::hex << info.tpm_handle; in EvictObjects() 472 &handle_info->tpm_handle, in LoadContext() 717 actual_handle = iter->second.tpm_handle; in ProcessFlushContext() [all …]
|
D | resource_manager_test.cc | 311 TPM_HANDLE tpm_handle = kArbitraryObjectHandle; in TEST_F() local 312 TPM_HANDLE virtual_handle = LoadHandle(tpm_handle); in TEST_F() 320 std::vector<TPM_HANDLE> expected_input_handles = {tpm_handle}; in TEST_F() 336 TPM_HANDLE tpm_handle = kArbitraryObjectHandle; in TEST_F() local 337 TPM_HANDLE virtual_handle = LoadHandle(tpm_handle); in TEST_F() 345 Serialize_TPM_HANDLE(tpm_handle, &expected_parameters); in TEST_F() 369 virtual_handle = LoadHandle(tpm_handle); in TEST_F() 371 Serialize_TPM_HANDLE(tpm_handle, ¶meters); in TEST_F() 382 TPM_HANDLE tpm_handle = kArbitraryObjectHandle; in TEST_F() local 383 TPM_HANDLE virtual_handle = LoadHandle(tpm_handle); in TEST_F() [all …]
|
D | resource_manager.h | 87 TPM_HANDLE tpm_handle; member
|
D | trunks.gyp | 119 'tpm_handle.cc',
|
D | Android.mk | 115 tpm_handle.cc \
|
/system/tpm/attestation/common/ |
D | tpm_utility_v1.h | 72 TSS_HTPM* tpm_handle);
|
D | tpm_utility_v1.cc | 119 TSS_HTPM tpm_handle; in ActivateIdentity() local 121 &context_handle, &tpm_handle)) { in ActivateIdentity() 154 result = Tspi_TPM_ActivateIdentity(tpm_handle, identity_key, in ActivateIdentity()
|