CCF
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions | Variables
attestation_sev_snp.h File Reference
#include "ccf/ds/enum_formatter.h"
#include "ccf/ds/json.h"
#include "ccf/ds/unit_strings.h"
#include "ccf/pal/attestation_sev_snp_endorsements.h"
#include "ccf/pal/measurement.h"
#include "ccf/pal/report_data.h"
#include "ccf/pal/sev_snp_cpuid.h"
#include <algorithm>
#include <array>
#include <cstdint>
#include <cstring>
#include <map>
#include <optional>
#include <stdexcept>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  ccf::pal::snp::TcbVersionMilanGenoa
 
struct  ccf::pal::snp::TcbVersionTurin
 
struct  ccf::pal::snp::TcbVersionPolicy
 
struct  ccf::pal::snp::TcbVersionRaw
 
struct  ccf::pal::snp::Signature
 
struct  ccf::pal::snp::GuestPolicy
 
struct  ccf::pal::snp::Flags
 
struct  ccf::pal::snp::PlatformInfo
 
struct  ccf::pal::snp::Attestation
 
class  ccf::pal::snp::AttestationInterface
 
struct  ccf::kv::serialisers::BlitSerialiser< ccf::pal::snp::CPUID >
 

Namespaces

namespace  ccf
 
namespace  ccf::pal
 
namespace  ccf::pal::snp
 
namespace  ccf::kv
 
namespace  ccf::kv::serialisers
 

Enumerations

enum class  ccf::pal::snp::SignatureAlgorithm : uint32_t { ccf::pal::snp::invalid = 0 , ccf::pal::snp::ecdsa_p384_sha384 = 1 }
 

Functions

 ccf::pal::snp::DECLARE_JSON_TYPE_WITH_OPTIONAL_FIELDS (TcbVersionPolicy)
 
 ccf::pal::snp::DECLARE_JSON_REQUIRED_FIELDS (TcbVersionPolicy)
 
 ccf::pal::snp::DECLARE_JSON_OPTIONAL_FIELDS (TcbVersionPolicy, fmc, boot_loader, tee, snp, microcode, hexstring)
 
void ccf::pal::snp::to_json (nlohmann::json &j, const TcbVersionRaw &tcb_version)
 
void ccf::pal::snp::from_json (const nlohmann::json &j, TcbVersionRaw &tcb_version_raw)
 
std::string ccf::pal::snp::schema_name (const TcbVersionRaw &tcb_version)
 

Variables

constexpr auto ccf::pal::snp::amd_milan_root_signing_public_key
 
constexpr auto ccf::pal::snp::amd_genoa_root_signing_public_key
 
constexpr auto ccf::pal::snp::amd_turin_root_signing_public_key
 
const std::map< ProductName, const char * > ccf::pal::snp::amd_root_signing_keys
 
constexpr size_t ccf::pal::snp::snp_tcb_version_size = 8