• Home
  • Raw
  • Download

Lines Matching refs:logging

23 import datetime, logging
117 logging.info(' TPM 1.2 Version Info:\n')
118 logging.info(' Chip Version: %d.%d.%d.%d.', vi.version.major,
120 logging.info(' Spec Level: %d', vi.specLevel)
121 logging.info(' Errata Revision: %d', vi.errataRev)
123 logging.info(' TPM Vendor ID: %s', ''.join(vendorId))
125 logging.info(' Vendor Specific data (first 4 bytes in Hex): '
146 logging.info(' TPM Test Results: %s', ''.join(out))
170 logging.info('Attempt to load shared library %s', TSPI_C_LIB)
176 logging.info('Successfully loaded shared library %s', TSPI_C_LIB)
185 logging.debug('TPM context NOT set.')
192 logging.error('Error freeing memory when closing TPM context')
194 logging.debug('Tspi_Context_FreeMemory() success')
197 logging.error('Error closing TPM context')
199 logging.debug('Tspi_Context_Close() success')
217 logging.debug('Tspi_Context_CloseObject() success')
230 logging.debug('TPM context already set.')
236 logging.info('Created tspi context = 0x%x', self.hContext.value)
242 logging.info('Connected to tspi context')
248 logging.info('Got tpm object from tspi context = 0x%x', self.hTpm.value)
269 logging.info('Tspi_TPM_GetStatus(): success for flag 0x%x',
288 logging.info('Tspi_TPM_SetStatus(): success for flag 0x%x',
307 logging.debug('Tspi_GetPolicyObject(): hTpm = 0x%x, hPolicy = 0x%x',
315 logging.debug('Tspi_GetPolicyObject() success hTpm = 0x%x, '
338 logging.debug('Tspi_Policy_SetSecret(): hPolicy = 0x%x, secret_mode '
349 logging.debug('Tspi_Policy_SetSecret() success, hPolicy = 0x%x',
369 logging.debug('Successfully set up tspi context: hTpm = %r', self.hTpm)
379 logging.info('Successfully received TPM capability: '
403 logging.debug('Successfully set up tspi context: hTpm = 0x%x',
411 logging.info('Successfully executed TPM self test: hTpm = 0x%x',
419 logging.info('TPM self test results: uiResultLen = %d, pResult=%r',
439 logging.debug('Successfully set up tspi context: hTpm = 0x%x',
457 logging.debug('hTpm = 0x%x, flag = 0x%x, hSrk = 0x%x',
470 logging.debug('Successfully set up SRK policy: secret = %r, '
479 logging.info('Tspi_TPM_TakeOwnership error')
484 logging.info('Successfully took TPM ownership')
497 logging.debug('Successfully set up tspi context: hTpm = %r', self.hTpm)
503 logging.info('Successfully cleared TPM')
527 logging.debug('Successfully set up tspi context: hTpm = %r', self.hTpm)
535 logging.info('Persistent Deactivated Status: %s', bValue.value)
539 logging.info('Volatile Deactivated Status: %s', bValue.value)
543 logging.info('Successfully activated TPM')
547 logging.info('Successfully deactivated TPM')
551 logging.info('Successfully deactivated TPM for current boot')
575 logging.debug('Successfully set up tspi context: hTpm = %r', self.hTpm)
583 logging.info('Owner Clear Disabled: %s', bValue.value)
587 logging.info('Force Clear Disabled: %s', bValue.value)
594 logging.info('Successfully disabled Owner Clear')
598 logging.info('Successfully disabled Force Clear')