#[non_exhaustive]pub struct WrappedKek {
pub wrapped_key: Vec<u8>,
pub iterations: u32,
pub salt: Vec<u8>,
}Expand description
The three inputs the FileVault unwrap chain needs, read from a wrapped-KEK object in a volume keybag entry.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.wrapped_key: Vec<u8>RFC 3394 wrapped key encryption key — always 40 bytes (32-byte key + the 8-byte integrity check AES-KW prepends).
iterations: u32PBKDF2 iteration count used to derive the unwrapping key from a password.
salt: Vec<u8>PBKDF2 salt — always 16 bytes.
Trait Implementations§
Source§impl Clone for WrappedKek
impl Clone for WrappedKek
Auto Trait Implementations§
impl Forget for WrappedKek
impl Freeze for WrappedKek
impl Move for WrappedKek
impl RefUnwindSafe for WrappedKek
impl Send for WrappedKek
impl Sync for WrappedKek
impl Unpin for WrappedKek
impl UnsafeUnpin for WrappedKek
impl UnwindSafe for WrappedKek
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