pub struct VolumeKeys {
pub vmk: [u8; 16],
pub tweak_key: [u8; 16],
}Expand description
The volume master key and its XTS tweak key, derived from a password.
Fields§
§vmk: [u8; 16]AES-XTS key1 for LV sector decryption.
tweak_key: [u8; 16]AES-XTS key2 (tweak key) for LV sector decryption.
Trait Implementations§
Source§impl Clone for VolumeKeys
impl Clone for VolumeKeys
Source§fn clone(&self) -> VolumeKeys
fn clone(&self) -> VolumeKeys
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VolumeKeys
impl RefUnwindSafe for VolumeKeys
impl Send for VolumeKeys
impl Sync for VolumeKeys
impl Unpin for VolumeKeys
impl UnsafeUnpin for VolumeKeys
impl UnwindSafe for VolumeKeys
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