Documentation ¶
Overview ¶
Package internal provides helper methods for testing. It should never be included in non-test libraries/binaries.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetTPM ¶
func GetTPM(tb testing.TB) io.ReadWriteCloser
GetTPM is a cross-platform testing helper function that retrives the appropriate TPM device from the flags passed into "go test".
func LoadRandomExternalKey ¶
LoadRandomExternalKey loads a randomly generated external key into the TPM simulator and returns its' handle. If any errors occur, calls Fatal() on the passed testing.TB.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.