Lines Matching refs:hPolicy
298 def getPolicyObject(self, hTpm=None, hPolicy=None): argument
311 if hPolicy is None:
312 hPolicy = self.hTpmPolicy
315 hTpm.value, hPolicy.value)
317 byref(hPolicy))
323 'hPolicy = 0x%x', hTpm.value, hPolicy.value)
325 def setPolicySecret(self, hPolicy=None, pSecret=None, secret_mode=None): argument
336 if hPolicy is None:
337 hPolicy = self.hTpmPolicy
346 '(%r) = %r', hPolicy.value, secret_mode,
350 hPolicy, TSS_SECRET_MODE[secret_mode], TPM_SHA1_160_HASH_LEN,
357 hPolicy.value)
468 self.getPolicyObject(hTpm=hSrk, hPolicy=hSrkPolicy)
469 self.setPolicySecret(hPolicy=hSrkPolicy, pSecret=pSecret,