tpmsteps

package
v2.8.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitTPM

func InitTPM(locality uint8, withLog bool) types.Step

InitTPM initializes the TPM.

func LogInit

func LogInit(locality uint8) types.Step

LogInit is a Step, which adds a "StartupLocality" log entry to the TPM EventLog.

func Measure

func Measure(pcrID pcr.ID, eventType tpmeventlog.EventType, data types.DataSource) types.Step

Measure just measures abstract data.

Types

type InitTPMStruct

type InitTPMStruct struct {
	Locality uint8
	WithLog  bool
}

InitTPMStruct is the structured returned by InitTPM.

func (InitTPMStruct) Actions

func (s InitTPMStruct) Actions(ctx context.Context, state *types.State) types.Actions

Actions implements types.Step.

type LogInitStruct

type LogInitStruct struct {
	Locality uint8
}

LogInitStruct is the structure returned by LogInit.

func (LogInitStruct) Actions

func (s LogInitStruct) Actions(ctx context.Context, state *types.State) types.Actions

Actions implements types.Step.

Jump to

Keyboard shortcuts

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