pub struct Stage4Attest {
pub attestation: Option<BootAttestation>,
pub attested: bool,
}Expand description
Stage 4: First attestation (boot attestation to witness log).
Records the initial boot attestation containing:
- RVF package hash
- Capability table hash
- Region layout hash
- Timestamp
Fields§
§attestation: Option<BootAttestation>Boot attestation entry.
attested: boolWhether attestation was written to witness log.
Implementations§
Source§impl Stage4Attest
impl Stage4Attest
Sourcepub fn execute(
&mut self,
manifest: &RvfManifest,
witness_log: &mut WitnessLog,
boot_capabilities: &BootCapabilitySet,
) -> Result<(), KernelError>
pub fn execute( &mut self, manifest: &RvfManifest, witness_log: &mut WitnessLog, boot_capabilities: &BootCapabilitySet, ) -> Result<(), KernelError>
Executes Stage 4 boot attestation.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Stage4Attest
impl RefUnwindSafe for Stage4Attest
impl Send for Stage4Attest
impl Sync for Stage4Attest
impl Unpin for Stage4Attest
impl UnsafeUnpin for Stage4Attest
impl UnwindSafe for Stage4Attest
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