Documentation ¶
Overview ¶
Package amdsevsnp contains minimal functionality required to fetch attestation reports inside an enlightened guest.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchRawSNPReport ¶
FetchRawSNPReport returns attestation report bytes.
Types ¶
type Report ¶
type Report struct { Version uint32 GuestSVN uint32 Policy uint64 FamilyID string ImageID string VMPL uint32 SignatureAlgo uint32 PlatformVersion uint64 PlatformInfo uint64 AuthorKeyEn uint32 ReportData string Measurement string HostData []byte IDKeyDigest string AuthorKeyDigest string ReportID string ReportIDMA string ReportTCB uint64 ChipID string CommittedSVN string CommittedVersion string LaunchSVN string Signature string }
Report represents parsed attestation report.
func FetchParsedSNPReport ¶
FetchParsedSNPReport parses raw attestation response into proper structs.
Click to show internal directories.
Click to hide internal directories.