Home
last modified time | relevance | path

Searched refs:policy_handle (Results 1 – 2 of 2) sorted by relevance

/system/tpm/tpm_manager/server/
Dtpm_initializer_impl.cc175 trousers::ScopedTssPolicy policy_handle(tpm_connection_.GetContext()); in InitializeSrk() local
179 policy_handle.ptr()))) { in InitializeSrk()
184 if (TPM_ERROR(result = Tspi_Policy_SetSecret(policy_handle, in InitializeSrk()
194 policy_handle))) { in InitializeSrk()
220 trousers::ScopedTssPolicy policy_handle(tpm_connection_.GetContext()); in ChangeOwnerPassword() local
224 policy_handle.ptr()))) { in ChangeOwnerPassword()
229 if (TPM_ERROR(result = Tspi_Policy_SetSecret(policy_handle, in ChangeOwnerPassword()
237 if (TPM_ERROR(result = Tspi_ChangeAuth(tpm_handle, 0, policy_handle))) { in ChangeOwnerPassword()
Dtpm_nvram_impl.cc267 trousers::ScopedTssPolicy policy_handle(tpm_connection_.GetContext()); in SetOwnerPolicy() local
272 policy_handle.ptr()); in SetOwnerPolicy()
282 policy_handle, in SetOwnerPolicy()
290 result = Tspi_Policy_AssignToObject(policy_handle.value(), in SetOwnerPolicy()