pub enum WrappingKey {
Aes256GcmSiv([u8; 32]),
Fscrypt([u8; 64]),
}
Expand description
The Crypt
trait below provides a mechanism to unwrap a key or set of keys.
The wrapping keys can be one of these types.
Variants§
Aes256GcmSiv([u8; 32])
This is used for keys of the type WrappedKey::Fxfs.
Fscrypt([u8; 64])
This is used for legacy fscrypt keys that use a 64-byte main key.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for WrappingKey
impl RefUnwindSafe for WrappingKey
impl Send for WrappingKey
impl Sync for WrappingKey
impl Unpin for WrappingKey
impl UnwindSafe for WrappingKey
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