Versions in this module Expand all Collapse all v2 v2.7.0 Feb 15, 2023 Changes in this version + const EV_ACTION + const EV_COMPACT_HASH + const EV_CPU_MICROCODE + const EV_EFI_ACTION + const EV_EFI_BOOT_SERVICES_APPLICATION + const EV_EFI_BOOT_SERVICES_DRIVER + const EV_EFI_EVENT_BASE + const EV_EFI_GPT_EVENT + const EV_EFI_HANDOFF_TABLES + const EV_EFI_HCRTM_EVENT + const EV_EFI_PLATFORM_FIRMWARE_BLOB + const EV_EFI_PLATFORM_FIRMWARE_BLOB2 + const EV_EFI_RUNTIME_SERVICES_DRIVER + const EV_EFI_VARIABLE_AUTHORITY + const EV_EFI_VARIABLE_BOOT + const EV_EFI_VARIABLE_DRIVER_CONFIG + const EV_EVENT_TAG + const EV_IPL + const EV_IPL_PARTITION_DATA + const EV_NONHOST_CODE + const EV_NONHOST_CONFIG + const EV_NONHOST_INFO + const EV_NO_ACTION + const EV_OMIT_BOOT_DEVICE_EVENTS + const EV_PLATFORM_CONFIG_FLAGS + const EV_POST_CODE + const EV_PREBOOT_CERT + const EV_SEPARATOR + const EV_S_CRTM_CONTENTS + const EV_S_CRTM_VERSION + const EV_TABLE_OF_DEVICES + const EV_UNUSED + const PhysAddrBase + const TPMAlgorithmSHA1 + const TPMAlgorithmSHA256 + func ParseLocality(eventData []byte) (uint8, error) + func RegisterEventDataParser(pcrIndex pcr.ID, eventType EventType, fn EventDataParserFunc) + type Digest struct + Digest []byte + HashAlgo TPMAlgorithm + type ErrInvalidDigestLength struct + Expected int + Received int + func (err ErrInvalidDigestLength) Error() string + type ErrLocality struct + EventData []byte + func (err ErrLocality) Error() string + type ErrNotSupportedHashAlgo struct + TPMAlgo TPMAlgorithm + func (err ErrNotSupportedHashAlgo) Error() string + type ErrParse struct + Err error + func (err ErrParse) Error() string + func (err ErrParse) Unwrap() error + type ErrRead struct + Err error + func (err ErrRead) Error() string + func (err ErrRead) Unwrap() error + type Event struct + Data []byte + Digest *Digest + PCRIndex pcr.ID + Type EventType + type EventDataParsed struct + Description *string + FvGUIDs []guid.GUID + TPMInitLocality *uint8 + func ParseEventData(ev *Event, imageSize uint64) (*EventDataParsed, error) + type EventDataParserFunc func(ev *Event, imageSize uint64) (*EventDataParsed, error) + type EventType uint32 + func (t EventType) String() string + type TPMAlgorithm = tpm2.Algorithm + type TPMEventLog struct + Events []*Event + func Parse(input io.Reader) (*TPMEventLog, error) + func (eventLog *TPMEventLog) FilterEvents(pcrIndex pcr.ID, hashAlgo TPMAlgorithm) ([]*Event, error)