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.
Click to show internal directories.
Click to hide internal directories.