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)
75 handle = self.client.start_auth_session(tpm2.TPM2_SE_TRIAL)
82 self.client.policy_pcr(handle, pcrs)
83 self.client.policy_password(handle)
85 policy_dig = self.client.get_policy_digest(handle)
87 self.client.flush_context(handle)
97 handle = self.client.start_auth_session(tpm2.TPM2_SE_POLICY)
100 self.client.policy_pcr(handle, pcrs)
101 self.client.policy_password(handle)
103 result = self.client.unseal(self.root_key, blob, auth, handle)
105 self.client.flush_context(handle)
114 handle = self.client.start_auth_session(tpm2.TPM2_SE_POLICY)
119 self.client.policy_pcr(handle, pcrs)
120 self.client.policy_password(handle)
122 result = self.client.unseal(self.root_key, blob, auth, handle)
125 self.client.flush_context(handle)
127 self.client.flush_context(handle)