Versions in this module Expand all Collapse all v0 v0.0.4 Aug 13, 2020 Changes in this version + type Event struct + Data []byte + Digests []Digest + Index int + Sequence int + Typ EventType + func (e *Event) Sha256Digest() []byte v0.0.3 Aug 12, 2020 Changes in this version + type Digest struct + Data []byte + Hash crypto.Hash v0.0.2 Aug 12, 2020 Changes in this version + func DumpEventLog(events []rawEvent, verbose bool) + func ValidateEventLog(events []rawEvent, pcrs map[int][]byte, templateEvents []TemplateEvent) error + type TemplateEvent struct + Data string + Digest []byte v0.0.1 Aug 5, 2020 Changes in this version + const EFIDPathNodeACPI + const EFIDPathNodeBBS + const EFIDPathNodeEoH + const EFIDPathNodeHardware + const EFIDPathNodeMedia + const EFIDPathNodeMsg + const ImgA + const ImgB + var HashSHA1 = HashAlg(AlgSHA1) + var HashSHA256 = HashAlg(AlgSHA256) + func EventLogIterate(events []rawEvent) map[int][]byte + func ParseEvents(eventLogFile string) ([]rawEvent, error) + func ParseGPTEntries(events []rawEvent) + func PrepareMeasurements(events []rawEvent) []templateEvent + type Algorithm uint16 + const AlgSHA1 + const AlgSHA256 + type EFIDPathNodeType uint8 + type EFIVariableEventData struct + UnicodeName string + VariableData []byte + VariableName Guid + func (e *EFIVariableEventData) Bytes() []byte + func (e *EFIVariableEventData) String() string + type EventType uint32 + const Action + const CompactHash + const CpuMicrocode + const EFIAction + const EFIBootServicesApplication + const EFIBootServicesDriver + const EFIEventBase + const EFIGPTEvent + const EFIHCRTMEvent + const EFIHandoffTables + const EFIPlatformFirmwareBlob + const EFIRuntimeServicesDriver + const EFIVariableAuthority + const EFIVariableBoot + const EFIVariableDriverConfig + const EventTag + const Ipl + const IplPartitionData + const NoAction + const NonhostCode + const NonhostConfig + const NonhostInfo + const OmitBootDeviceEvents + const PlatformConfigFlags + const PostCode + const PrebootCert + const SCRTMContents + const SCRTMVersion + const Separator + const TableOfDevices + type Guid struct + Data1 uint32 + Data2 uint16 + Data3 uint16 + Data4 [8]uint8 + func (g *Guid) String() string + type HashAlg uint8 + func (a HashAlg) String() string + type SpecAlgSize struct + ID uint16 + Size uint16 + type SpecIDEvent struct + type SpecIDHdr struct + Erta uint8 + NAlgs uint32 + Pc uint32 + Sign [16]byte + Siz uint8 + VMa uint8 + VMi uint8