go-attestation/attest/attest-tool/internal/internal.go
Brandon Weeks 73020b971b Rename AIK to AK everywhere
AIK is the terminology used as part of the TPM 1.2 specifications.
2019-10-09 08:56:19 +11:00

31 lines
614 B
Go

// Package internal contains marshalling structures for attest-tool and tests.
package internal
import (
"github.com/google/go-attestation/attest"
"github.com/google/go-tpm/tpm2"
)
// Dump describes the layout of serialized information from the dump command.
type Dump struct {
Static struct {
TPMVersion attest.TPMVersion
EKPem []byte
}
AK attest.AttestationParameters
Quote struct {
Nonce []byte
Alg attest.HashAlg
Quote []byte
Signature []byte
}
Log struct {
PCRs []attest.PCR
PCRAlg tpm2.Algorithm
Raw []byte // The measured boot log in binary form.
}
}