Crate tpm

Source
Expand description

Emulated TPM 2.0 device.

This module implements the hardware TPM interface. This includes both the MMIO interface for reading/writing TPM command/reply buffers, as well as the IO Port interface for performing PPI requests and configuring MMIO request/response regions.

Modules§

ak_cert
Helper traits for TPM Attestation Key Certificate (AK cert).
logger
The definition of TpmLogger trait that enables TPM implementation to send log events to an external logger.
resolver

Structs§

Tpm
TpmError
TpmKeys
TpmRsa2kPublic

Enums§

TpmErrorKind

Constants§

TPM_DEVICE_IO_PORT_CONTROL_OFFSET
TPM_DEVICE_IO_PORT_DATA_OFFSET
TPM_DEVICE_IO_PORT_RANGE_BEGIN
TPM_DEVICE_IO_PORT_RANGE_END
TPM_DEVICE_MMIO_PORT_CONTROL
TPM_DEVICE_MMIO_PORT_DATA
TPM_DEVICE_MMIO_PORT_REGION_BASE_ADDRESS
TPM_DEVICE_MMIO_PORT_REGION_SIZE
TPM_DEVICE_MMIO_REGION_BASE_ADDRESS
TPM_DEVICE_MMIO_REGION_SIZE

Type Aliases§

MonotonicTimer
Implementation of [ms_tpm_20_ref::PlatformCallbacks::monotonic_timer]