Lines Matching refs:hPolicy
291 def getPolicyObject(self, hTpm=None, hPolicy=None): argument
304 if hPolicy is None:
305 hPolicy = self.hTpmPolicy
308 hTpm.value, hPolicy.value)
310 byref(hPolicy))
316 'hPolicy = 0x%x', hTpm.value, hPolicy.value)
318 def setPolicySecret(self, hPolicy=None, pSecret=None, secret_mode=None): argument
329 if hPolicy is None:
330 hPolicy = self.hTpmPolicy
339 '(%r) = %r', hPolicy.value, secret_mode,
343 hPolicy, TSS_SECRET_MODE[secret_mode], TPM_SHA1_160_HASH_LEN,
350 hPolicy.value)
461 self.getPolicyObject(hTpm=hSrk, hPolicy=hSrkPolicy)
462 self.setPolicySecret(hPolicy=hSrkPolicy, pSecret=pSecret,