#[repr(C)]pub struct VBS_VM_BOOT_MEASUREMENT_SIGNED_DATA {
pub version: u32,
pub product_id: u32,
pub module_id: u32,
pub security_version: u32,
pub security_policy: VBS_POLICY_FLAGS,
pub boot_digest_algo: u32,
pub signing_algo: u32,
pub boot_measurement_digest: [u8; 32],
}
Expand description
Structure containing the completed VBS boot measurement of the IGVM file.
The signature of the hash of this struct is the signature for [igvm_defs::IGVM_VHS_VBS_MEASUREMENT
]
Fields§
§version: u32
The version of the signature structure
product_id: u32
The user supplied product id
module_id: u32
The uesr supplied module id
security_version: u32
The user supplied svn
security_policy: VBS_POLICY_FLAGS
Security policy for the guest
boot_digest_algo: u32
Algorithm that created the boot digest hash
signing_algo: u32
Algorithm that produces the signature
boot_measurement_digest: [u8; 32]
VBS Boot digest
Trait Implementations§
Source§impl IntoBytes for VBS_VM_BOOT_MEASUREMENT_SIGNED_DATAwhere
u32: IntoBytes,
VBS_POLICY_FLAGS: IntoBytes,
[u8; 32]: IntoBytes,
(): PaddingFree<Self, { _ }>,
impl IntoBytes for VBS_VM_BOOT_MEASUREMENT_SIGNED_DATAwhere
u32: IntoBytes,
VBS_POLICY_FLAGS: IntoBytes,
[u8; 32]: IntoBytes,
(): PaddingFree<Self, { _ }>,
Source§impl KnownLayout for VBS_VM_BOOT_MEASUREMENT_SIGNED_DATA
impl KnownLayout for VBS_VM_BOOT_MEASUREMENT_SIGNED_DATA
impl Immutable for VBS_VM_BOOT_MEASUREMENT_SIGNED_DATA
Auto Trait Implementations§
impl Freeze for VBS_VM_BOOT_MEASUREMENT_SIGNED_DATA
impl RefUnwindSafe for VBS_VM_BOOT_MEASUREMENT_SIGNED_DATA
impl Send for VBS_VM_BOOT_MEASUREMENT_SIGNED_DATA
impl Sync for VBS_VM_BOOT_MEASUREMENT_SIGNED_DATA
impl Unpin for VBS_VM_BOOT_MEASUREMENT_SIGNED_DATA
impl UnwindSafe for VBS_VM_BOOT_MEASUREMENT_SIGNED_DATA
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more