Home
last modified time | relevance | path

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

/external/autotest/client/common_lib/
Dsmogcheck_tpm.py318 def setPolicySecret(self, hPolicy=None, pSecret=None, secret_mode=None): argument
335 if secret_mode is None or secret_mode not in TSS_SECRET_MODE:
339 '(%r) = %r', hPolicy.value, secret_mode,
340 TSS_SECRET_MODE[secret_mode])
343 hPolicy, TSS_SECRET_MODE[secret_mode], TPM_SHA1_160_HASH_LEN,
444 self.setPolicySecret(pSecret=pSecret, secret_mode='sha1')
463 secret_mode='sha1')
531 self.setPolicySecret(pSecret=pSecret, secret_mode='sha1')
579 self.setPolicySecret(pSecret=pSecret, secret_mode='sha1')
590 self.setPolicySecret(pSecret=pSecret, secret_mode='sha1')