Expand description
The module helps preparing requests and parsing responses that are
sent to and received from the IGVm agent runs on the host via GET
IGVM_ATTEST
host request.
Modules§
- runtime_
claims - Definition of the runt-time claims, which will be appended to the
IgvmAttestRequest
in raw bytes.
Structs§
- Igvm
Attest AkCert Response Header - The response header for
AK_CERT_REQUEST
(C-style struct) - Igvm
Attest Hash Type - Hash algorithm used for content of report data (C-style enum)
- Igvm
Attest KeyRelease Response Header - The response header for
KEY_RELEASE_REQUEST
(C-style struct) - Igvm
Attest Report Type - TEE attestation report type (C-style enum)
- Igvm
Attest Request - Request structure (C-style)
The struct (includes the appended
runtime_claims::RuntimeClaims
) also serves as the attestation report in vTPM guest attestation. - Igvm
Attest Request Data - Unmeasured user data, used for host attestation requests (C-style struct)
- Igvm
Attest Request Header - Unmeasured data used to provide transport sanity and versioning (C-style struct)
- Igvm
Attest Request Type - Request type (C-style enum)
- Igvm
Attest Wrapped KeyResponse Header - The response header for
WRAPPED_KEY_REQUEST
(C-style struct) Currently the definition is the same asIgvmAttestKeyReleaseResponseHeader
.
Constants§
- AK_
CERT_ RESPONSE_ BUFFER_ SIZE - Number of pages required by the response buffer of AK_CERT request Currently the AK cert request only requires 1 page.
- AK_
CERT_ RESPONSE_ HEADER_ VERSION - Current AK cert response header version
- KEY_
RELEASE_ RESPONSE_ BUFFER_ SIZE - Number of pages required by the response buffer of KEY_RELEASE request
Currently the number matches the maximum value defined by
get_protocol
- SNP_
VM_ REPORT_ SIZE - TDX_
VM_ REPORT_ SIZE - TVM_
REPORT_ SIZE - No TEE attestation report for TVM
- VBS_
VM_ REPORT_ SIZE - WRAPPED_
KEY_ RESPONSE_ BUFFER_ SIZE - Number of pages required by the response buffer of WRAPPED_KEY request
Currently the number matches the maximum value defined by
get_protocol