Home
last modified time | relevance | path

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

/openbmc/linux/tools/testing/selftests/tpm2/
H A Dtpm2.py589 def seal(self, parent_key, data, auth_value, policy_dig, argument
592 assert(not policy_dig or ds == len(policy_dig))
595 if not policy_dig:
597 policy_dig = bytes()
606 auth_policy=policy_dig,
H A Dtpm2_tests.py51 policy_dig = self.client.get_policy_digest(handle)
55 blob = self.client.seal(self.root_key, data, auth, policy_dig)
98 policy_dig = self.client.get_policy_digest(handle)
102 blob = self.client.seal(self.root_key, data, auth, policy_dig)