• Kuppuswamy Sathyanarayanan's avatar
    virt: tdx-guest: Add Quote generation support using TSM_REPORTS · f4738f56
    Kuppuswamy Sathyanarayanan authored
    In TDX guest, the attestation process is used to verify the TDX guest
    trustworthiness to other entities before provisioning secrets to the
    guest. The first step in the attestation process is TDREPORT
    generation, which involves getting the guest measurement data in the
    format of TDREPORT, which is further used to validate the authenticity
    of the TDX guest. TDREPORT by design is integrity-protected and can
    only be verified on the local machine.
    
    To support remote verification of the TDREPORT in a SGX-based
    attestation, the TDREPORT needs to be sent to the SGX Quoting Enclave
    (QE) to convert it to a remotely verifiable Quote. SGX QE by design can
    only run outside of the TDX guest (i.e. in a host process or in a
    normal VM) and guest can use communication channels like vsock or
    TCP/IP to send the TDREPORT to the QE. But for security concerns, the
    TDX guest may not support these communication channels. To handle such
    cases, TDX defines a GetQuote h...
    f4738f56
tdx-guest.c 7.39 KB