Lines Matching refs:handle
31 handle = self.client.start_auth_session(tpm2.TPM2_SE_TRIAL)
38 self.client.policy_pcr(handle, pcrs)
39 self.client.policy_password(handle)
41 policy_dig = self.client.get_policy_digest(handle)
43 self.client.flush_context(handle)
47 handle = self.client.start_auth_session(tpm2.TPM2_SE_POLICY)
50 self.client.policy_pcr(handle, pcrs)
51 self.client.policy_password(handle)
53 result = self.client.unseal(self.root_key, blob, auth, handle)
55 self.client.flush_context(handle)
74 handle = self.client.start_auth_session(tpm2.TPM2_SE_TRIAL)
81 self.client.policy_pcr(handle, pcrs)
82 self.client.policy_password(handle)
84 policy_dig = self.client.get_policy_digest(handle)
86 self.client.flush_context(handle)
96 handle = self.client.start_auth_session(tpm2.TPM2_SE_POLICY)
99 self.client.policy_pcr(handle, pcrs)
100 self.client.policy_password(handle)
102 result = self.client.unseal(self.root_key, blob, auth, handle)
104 self.client.flush_context(handle)
113 handle = self.client.start_auth_session(tpm2.TPM2_SE_POLICY)
118 self.client.policy_pcr(handle, pcrs)
119 self.client.policy_password(handle)
121 result = self.client.unseal(self.root_key, blob, auth, handle)
124 self.client.flush_context(handle)
126 self.client.flush_context(handle)