testutil

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package testutil includes utilities for event log tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MakePCRBank added in v0.0.2

func MakePCRBank(hashAlgo pb.HashAlgo, pcrIdxToDigest map[uint32][]byte) register.PCRBank

MakePCRBank takes a hash and a map of index to digest and creates the corresponding PCRBank.

Types

type Dump

type Dump struct {
	Log struct {
		PCRs   []register.PCR
		PCRAlg tpm2.Algorithm
		Raw    []byte // The measured boot log in binary form.
	}
}

Dump describes the layout of serialized information from the dump command.

Jump to

Keyboard shortcuts

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