struct VbsDigestor {
digest: [u8; 32],
}
Fields§
§digest: [u8; 32]
Implementations§
Source§impl VbsDigestor
impl VbsDigestor
fn new() -> Result<VbsDigestor, Error>
fn record_gpa_page( &mut self, gpa_page_base: u64, page_count: u64, page_metadata: VBS_VM_GPA_PAGE_BOOT_METADATA, data: &[u8], ) -> Result<(), Error>
fn record_vp_register(&mut self, reg: VbsVpContextRegister) -> Result<(), Error>
fn create_record_entry(&mut self, chunks: &[&[u8]]) -> Result<(), Error>
fn finish_digest(&self) -> [u8; 32]
Auto Trait Implementations§
impl Freeze for VbsDigestor
impl RefUnwindSafe for VbsDigestor
impl Send for VbsDigestor
impl Sync for VbsDigestor
impl Unpin for VbsDigestor
impl UnwindSafe for VbsDigestor
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