Searched refs:policy_dig (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/tools/testing/selftests/tpm2/ |
D | tpm2.py | 584 def seal(self, parent_key, data, auth_value, policy_dig, argument 587 assert(not policy_dig or ds == len(policy_dig)) 590 if not policy_dig: 592 policy_dig = bytes() 601 auth_policy=policy_dig,
|
D | tpm2_tests.py | 41 policy_dig = self.client.get_policy_digest(handle) 45 blob = self.client.seal(self.root_key, data, auth, policy_dig) 85 policy_dig = self.client.get_policy_digest(handle) 89 blob = self.client.seal(self.root_key, data, auth, policy_dig)
|