Documentation
¶
Overview ¶
Package measurement implements utilities for reproducing enclave measurements.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MeasureTdxQemu ¶
MeasureTdxQemu computes the TD measurements for the given component. It assumes that a known virtual firmware image is used that follows the measurement protocol and that QEMU is used as the hypervisor.
It may return multiple identities because there may be differences between QEMU versions that can cause differences in measurements (e.g. with MRTD).
Types ¶
type TdxPlatformInputs ¶ added in v0.23.0
type TdxPlatformInputs struct {
Hypervisor string `json:"hypervisor"`
TDHOB []byte `json:"td_hob"`
ACPI []byte `json:"acpi"`
RSDP []byte `json:"rsdp"`
Loader []byte `json:"loader"`
SMBIOS []byte `json:"smbios"`
FwCfg []platformFwCfg `json:"fw_cfg"`
}
TdxPlatformInputs contains the bytes the pinned firmware measures. It is derived entirely offline from the release profile and normalized launch config.
Click to show internal directories.
Click to hide internal directories.