CCF
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Variables
snp_ioctl5.h File Reference
#include "ccf/pal/attestation_sev_snp.h"
#include <fcntl.h>
#include <stdint.h>
#include <sys/ioctl.h>
#include <sys/types.h>
#include <unistd.h>

Go to the source code of this file.

Classes

struct  ccf::pal::snp::ioctl5::GuestRequest
 
struct  ccf::pal::snp::ioctl5::AttestationReq
 
struct  ccf::pal::snp::ioctl5::AttestationResp
 
class  ccf::pal::snp::ioctl5::Attestation
 

Namespaces

namespace  ccf
 
namespace  ccf::pal
 
namespace  ccf::pal::snp
 
namespace  ccf::pal::snp::ioctl5
 

Enumerations

enum  ccf::pal::snp::ioctl5::MsgType {
  ccf::pal::snp::ioctl5::MSG_TYPE_INVALID = 0 , ccf::pal::snp::ioctl5::MSG_CPUID_REQ , ccf::pal::snp::ioctl5::MSG_CPUID_RSP , ccf::pal::snp::ioctl5::MSG_KEY_REQ ,
  ccf::pal::snp::ioctl5::MSG_KEY_RSP , ccf::pal::snp::ioctl5::MSG_REPORT_REQ , ccf::pal::snp::ioctl5::MSG_REPORT_RSP , ccf::pal::snp::ioctl5::MSG_EXPORT_REQ ,
  ccf::pal::snp::ioctl5::MSG_EXPORT_RSP , ccf::pal::snp::ioctl5::MSG_IMPORT_REQ , ccf::pal::snp::ioctl5::MSG_IMPORT_RSP , ccf::pal::snp::ioctl5::MSG_ABSORB_REQ ,
  ccf::pal::snp::ioctl5::MSG_ABSORB_RSP , ccf::pal::snp::ioctl5::MSG_VMRK_REQ , ccf::pal::snp::ioctl5::MSG_VMRK_RSP , ccf::pal::snp::ioctl5::MSG_TYPE_MAX
}
 

Variables

constexpr auto ccf::pal::snp::ioctl5::DEVICE = "/dev/sev"
 
constexpr char ccf::pal::snp::ioctl5::SEV_GUEST_IOC_TYPE = 'S'
 
constexpr int ccf::pal::snp::ioctl5::SEV_SNP_GUEST_MSG_REPORT