format

package
v0.0.0-...-f44e450 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2023 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EventLog

func EventLog(
	eventLog *tpmeventlog.TPMEventLog,
	filterPCRIndex *pcr.ID,
	filterHashAlgo *tpmeventlog.TPMAlgorithm,
	prefix string,
	isMultiline bool,
) string

EventLog returns a string with a formatted TPM EventLog.

func HashAlgoPtr

HashAlgoPtr is just a replacement for ugly &[]tpmeventlog.TPMAlgorithm{in}[0]

func PCRIndexPtr

func PCRIndexPtr(in pcr.ID) *pcr.ID

PCRIndexPtr is just a replacement for ugly &[]pcr.ID{in}[0]

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL