Documentation
¶
Index ¶
- Constants
- Variables
- func Attest(teeNonce []byte, vTPMNonce []byte, teeAttestaion bool) ([]byte, error)
- func ExtendPCR(pcrIndex int, value []byte) error
- func FetchATLSQuote(pubKey, teeNonce, vTPMNonce []byte) ([]byte, error)
- func OpenTpm() (io.ReadWriteCloser, error)
- func VTPMVerify(quote []byte, pubKeyTLS []byte, teeNonce []byte, vtpmNonce []byte) error
Constants ¶
View Source
const ( Nonce = 32 PCR15 = 15 Hash256 = 32 Hash384 = 48 )
Variables ¶
View Source
var ( ExternalTPM io.ReadWriteCloser ErrNoHashAlgo = errors.New("hash algo is not supported") )
Functions ¶
func FetchATLSQuote ¶
func OpenTpm ¶
func OpenTpm() (io.ReadWriteCloser, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.