Documentation ¶
Index ¶
Constants ¶
View Source
const ( //The location of CCEL table CCEL_FILE_LOCATION = "/sys/firmware/acpi/tables/CCEL" CCEL_DATA_LOCATION = "/sys/firmware/acpi/tables/data/CCEL" //The location of mounted CCEL table CCEL_FILE_MOUNT_LOCATION = "/run/firmware/acpi/tables/CCEL" CCEL_DATA_MOUNT_LOCATION = "/run/firmware/acpi/tables/data/CCEL" EVENT_TYPE_EV_NO_ACTION = 0x3 )
View Source
const ( //The location of CCEL table TPM_EVENT_LOG_LOCATION = "/sys/kernel/security/tpm0/binary_bios_measurements" CHUNK_SIZE = 16384 )
Variables ¶
View Source
var ( TdxGetEventlogErr = pkgerrors.New("Failed to get eventlog in CCEL table.") CcelTableNotFoundErr = pkgerrors.New("CCEL table not found.") InvalidCcelTableErr = pkgerrors.New("CCEL table with invalid data") FetchCcelTableAttrErr = pkgerrors.New("Failed to get the base address of CCEL table") )
View Source
var ( TpmGetEventlogErr = pkgerrors.New("Failed to get eventlog in TPM.") TpmEventlogNotFoundErr = pkgerrors.New("TPM eventlog not found.") )
Functions ¶
Types ¶
type TDEventLog ¶
type TDEventLogSpecIdHeader ¶
type TDEventLogs ¶
type TDEventLogs struct { Header TDEventLogSpecIdHeader EventLogs []TDEventLog }
Click to show internal directories.
Click to hide internal directories.