pub struct DeriveRequest<'a> {
pub suite: HkdfSuite,
pub ikm: &'a HkdfInputKeyMaterial,
pub salt: Option<&'a HkdfSalt>,
pub info: &'a HkdfInfo,
}Expand description
Parameters for a single HKDF extract-and-expand derivation.
Fields§
§suite: HkdfSuiteHash suite to use.
ikm: &'a HkdfInputKeyMaterialInput keying material to extract from.
salt: Option<&'a HkdfSalt>Optional salt for the extract step.
info: &'a HkdfInfoContext/application-binding info for the expand step.
Auto Trait Implementations§
impl<'a> Freeze for DeriveRequest<'a>
impl<'a> RefUnwindSafe for DeriveRequest<'a>
impl<'a> Send for DeriveRequest<'a>
impl<'a> Sync for DeriveRequest<'a>
impl<'a> Unpin for DeriveRequest<'a>
impl<'a> UnsafeUnpin for DeriveRequest<'a>
impl<'a> UnwindSafe for DeriveRequest<'a>
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