simulator

package
v2.16.4 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 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