#[repr(C)]pub struct ReportReq {
pub data: [u8; 64],
pub mnonce: [u8; 16],
pub hash: [u8; 32],
}Expand description
Data provieded by the guest owner for requesting an attestation report from the HYGON Secure Processor.
Fields§
§data: [u8; 64]Guest-provided data to be included in the attestation report
mnonce: [u8; 16]Guest-provided mnonce to be placed in the report to provide protection
hash: [u8; 32]hash of [data] and [mnonce] to provide protection
Implementations§
Trait Implementations§
impl StructuralPartialEq for ReportReq
Auto Trait Implementations§
impl Freeze for ReportReq
impl RefUnwindSafe for ReportReq
impl Send for ReportReq
impl Sync for ReportReq
impl Unpin for ReportReq
impl UnsafeUnpin for ReportReq
impl UnwindSafe for ReportReq
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