pub struct HkdfInputKeyMaterial { /* private fields */ }Expand description
HKDF input keying material, zeroized on drop.
Implementations§
Source§impl HkdfInputKeyMaterial
impl HkdfInputKeyMaterial
Sourcepub fn from_slice(input: &[u8]) -> HkdfInputKeyMaterial
pub fn from_slice(input: &[u8]) -> HkdfInputKeyMaterial
Build input keying material by copying the given bytes.
Trait Implementations§
Source§impl Drop for HkdfInputKeyMaterial
impl Drop for HkdfInputKeyMaterial
Auto Trait Implementations§
impl Freeze for HkdfInputKeyMaterial
impl RefUnwindSafe for HkdfInputKeyMaterial
impl Send for HkdfInputKeyMaterial
impl Sync for HkdfInputKeyMaterial
impl Unpin for HkdfInputKeyMaterial
impl UnsafeUnpin for HkdfInputKeyMaterial
impl UnwindSafe for HkdfInputKeyMaterial
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