Searched refs:policy_handle (Results 1 – 2 of 2) sorted by relevance
175 trousers::ScopedTssPolicy policy_handle(tpm_connection_.GetContext()); in InitializeSrk() local179 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() local224 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()
267 trousers::ScopedTssPolicy policy_handle(tpm_connection_.GetContext()); in SetOwnerPolicy() local272 policy_handle.ptr()); in SetOwnerPolicy()282 policy_handle, in SetOwnerPolicy()290 result = Tspi_Policy_AssignToObject(policy_handle.value(), in SetOwnerPolicy()