pub struct FeedbackMode<'a> {
pub iv: Option<&'a [u8]>,
pub counter_length: Option<usize>,
}
Expand description
Defines options for KDF in feedback mode
Fields§
§iv: Option<&'a [u8]>
Initial value used in first iteration of feedback mode
counter_length: Option<usize>
Length of the binary representation of the counter, in bits. If not provided, counter unused
Trait Implementations§
Source§impl<'a> Clone for FeedbackMode<'a>
impl<'a> Clone for FeedbackMode<'a>
Source§fn clone(&self) -> FeedbackMode<'a>
fn clone(&self) -> FeedbackMode<'a>
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<'a> Debug for FeedbackMode<'a>
impl<'a> Debug for FeedbackMode<'a>
impl<'a> Copy for FeedbackMode<'a>
Auto Trait Implementations§
impl<'a> Freeze for FeedbackMode<'a>
impl<'a> RefUnwindSafe for FeedbackMode<'a>
impl<'a> Send for FeedbackMode<'a>
impl<'a> Sync for FeedbackMode<'a>
impl<'a> Unpin for FeedbackMode<'a>
impl<'a> UnwindSafe for FeedbackMode<'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