simulator

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: AGPL-3.0 Imports: 2 Imported by: 0

Documentation

Overview

TPM2 simulator used for unit tests.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSimulatedTPMOpenFunc

func NewSimulatedTPMOpenFunc() (func() (io.ReadWriteCloser, error), io.Closer)

NewSimulatedTPMOpenFunc returns a TPMOpenFunc that opens a simulated TPM.

func OpenSimulatedTPM

func OpenSimulatedTPM() (io.ReadWriteCloser, error)

OpenSimulatedTPM returns a simulated TPM device.

Types

This section is empty.

Jump to

Keyboard shortcuts

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