Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadEKCert ¶
func LoadEKCert(rw io.ReadWriter) (*x509.Certificate, *bytes.Buffer, error)
LoadEKCert starts two TCP proxies necessary for forwarding tpm2-tools commands to the Microsoft TPM2 simulator using TPM2TOOLS_TCTI=mssim It then calls ./ci/tpm2_ek_cert_generator/generate_ek_cert.sh to generate and load a certificate into the simulator
Types ¶
type TPMCmdChannel ¶
type TPMCmdChannel struct {
io.ReadWriteCloser
}
func (*TPMCmdChannel) MeasurementLog ¶
func (cc *TPMCmdChannel) MeasurementLog() ([]byte, error)
Click to show internal directories.
Click to hide internal directories.