dmi_tpm_firmware_version_format
Synopsis
#include <opendmi/entity/tpm-device.h>
typedef enum dmi_tpm_firmware_version_format {
DMI_TPM_FIRMWARE_VERSION_FORMAT_RAW,
DMI_TPM_FIRMWARE_VERSION_FORMAT_TPM_1,
DMI_TPM_FIRMWARE_VERSION_FORMAT_TPM_2
} dmi_tpm_firmware_version_format_t;
Description
The dmi_tpm_firmware_version_format_t enumeration tells how the firmware
version of a TPM device has been parsed, which depends on the major version
of the TPM specification the device supports. It is the type of the
firmware_version_format field of dmi_tpm_device_t. The values are the
library’s own, and do not appear in the SMBIOS data.
Values
DMI_TPM_FIRMWARE_VERSION_FORMAT_RAW-
Unknown TPM version: the firmware version is only available as stored, in the
firmware_versionfield. DMI_TPM_FIRMWARE_VERSION_FORMAT_TPM_1-
TPM 1.x: the
firmware_revisionfield holds the revision taken from the TCPA_VERSION structure. DMI_TPM_FIRMWARE_VERSION_FORMAT_TPM_2-
TPM 2.0: the
firmware_version_2field holds the version taken from the TPM_PT_FIRMWARE_VERSION_1 and TPM_PT_FIRMWARE_VERSION_2 properties.