rtmr

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Overview

Package rtmr provides an API to the configfs/tsm/rtmr subsystem for extending runtime measurements to RTMR registers.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtendDigest

func ExtendDigest(client configfsi.Client, rtmr int, digest []byte) error

ExtendDigest extends the measurement to the rtmr with the given digest.

Types

type Extend

type Extend struct {
	RtmrIndex int
	// contains filtered or unexported fields
}

Extend is a struct that represents a rtmr entry in the configfs.

type Response

type Response struct {
	RtmrIndex int
	// contains filtered or unexported fields
}

Response is a struct that represents the response of reading a rtmr entry in the configfs.

func GetDigest

func GetDigest(client configfsi.Client, rtmr int) (*Response, error)

GetDigest returns the digest and the tcg map of a given rtmr index.

Jump to

Keyboard shortcuts

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