internal

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2021 License: Apache-2.0, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package internal provides low-level bindings to the Microsoft TPM2 simulator.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reset

func Reset(forceManufacture bool)

Reset simulates toggling the power the the TPM. If forceManufacture is true, the reset will be a manufacturer reset.

func RunCommand

func RunCommand(cmd []byte) ([]byte, error)

RunCommand passes cmd to the simulator and returns the simulator's response.

func SetSeeds

func SetSeeds(r io.Reader)

SetSeeds uses the output of r to reset the 3 TPM simulator seeds.

Types

This section is empty.

Jump to

Keyboard shortcuts

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