这是indexloc提供的服务,不要输入任何密码
Skip to content

Conversation

@onlyshawn
Copy link
Collaborator

Background

According to the latest version of the AMD SEV-SNP ABI specification (Document #56860, Rev. 1.58, May 2025), the Attestation Report data structure has been updated with two new fields to indicate mitigations enabled at launch.

This change aligns our implementation with the latest firmware specification, ensuring we can correctly parse and generate attestation reports that include these new fields.

The new fields are:

LAUNCH_MIT_VECTOR (offset 0x1F8)
CURRENT_MIT_VECTOR (offset 0x200)

Changes

  1. Updated Report Parsing (ReportToProto)
  2. Updated Report Serialization (ReportToAbiBytes)
  3. Updated Protobuf Definition

@onlyshawn onlyshawn force-pushed the feature/add-mitigation-vector branch 2 times, most recently from 30cd050 to 10e7587 Compare October 8, 2025 22:21
@onlyshawn onlyshawn force-pushed the feature/add-mitigation-vector branch 2 times, most recently from 06ce937 to 0778747 Compare October 9, 2025 04:31
@onlyshawn onlyshawn force-pushed the feature/add-mitigation-vector branch from 0778747 to d0bc3f7 Compare October 9, 2025 19:15
@yawangwang yawangwang merged commit e47e484 into google:main Oct 9, 2025
8 checks passed
@katexochen
Copy link
Contributor

@onlyshawn @kongoshuu This still doesn't implement all the changes of the Rev 1.58 spec, so report parsing will fail, for example if PAGE_SWAP_DISABLE is true. Please check out #174

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants