pub struct HkdfDetails {
pub msg_loc: HkdfMsgLoc,
pub zero_key: bool,
pub msg_slot: Option<u8>,
}
Expand description
KDF details for HKDF
Fields§
§msg_loc: HkdfMsgLoc
§zero_key: bool
if true then a vector of thirty-two zero bytes will be used as the key
msg_slot: Option<u8>
if source of message is a slot, its identifier must be entered
Trait Implementations§
Source§impl Clone for HkdfDetails
impl Clone for HkdfDetails
Source§fn clone(&self) -> HkdfDetails
fn clone(&self) -> HkdfDetails
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HkdfDetails
impl Debug for HkdfDetails
Source§impl Default for HkdfDetails
impl Default for HkdfDetails
Source§fn default() -> HkdfDetails
fn default() -> HkdfDetails
Returns the “default value” for a type. Read more
Source§impl PartialEq for HkdfDetails
impl PartialEq for HkdfDetails
impl StructuralPartialEq for HkdfDetails
Auto Trait Implementations§
impl Freeze for HkdfDetails
impl RefUnwindSafe for HkdfDetails
impl Send for HkdfDetails
impl Sync for HkdfDetails
impl Unpin for HkdfDetails
impl UnwindSafe for HkdfDetails
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