Module protocol

Source
Expand description

The module includes the definitions of data structures according to SEV-SNP specification.

Structs§

GuestFieldSelect
Indicate which guest-selectable fields will be mixed into the key. See GUEST_FIELD_SELECT in Table 19, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55.
SnpDerivedKeyReq
Request structure for the SNP_GET_DERIVED_KEY ioctl. See MSG_KEY_REQ in Table 18, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55.
SnpDerivedKeyResp
Response structure for the SNP_GET_DERIVED_KEY ioctl. See MSG_KEY_RSP in Table 20, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55.
SnpGuestRequestIoctl
Ioctl struct defined by Linux.
SnpReport
Report structure. See ATTESTATION_REPORT in Table 22, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55.
SnpReportReq
Request structure for the SNP_GET_REPORT ioctl. See MSG_REPORT_REQ in Table 21, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55.
SnpReportResp
Response structure for the SNP_GET_REPORT ioctl. See MSG_REPORT_RSP in Table 24, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55.
VmmErrorCode
VMM error code.

Constants§

SNP_DERIVED_KEY_SIZE
See DERIVED_KEY in Table 20, “SEV Secure Nested Paging Firmware ABI specification”, Revision 1.55.
SNP_GUEST_REQ_IOC_TYPE
Ioctl type defined by Linux.
SNP_GUEST_REQ_MSG_VERSION
Value for the msg_version member in SNP_GUEST_REQ_MSG_VERSION. Use 1 for now.
SNP_REPORT_DATA_SIZE
Size of report_data member in SnpReport.
SNP_REPORT_SIZE
Size of the SnpReport.