pub struct Feedback<'a, Prf, K, R = U32>where
Prf: Mac,{ /* private fields */ }Expand description
KBKDF in Feedback Mode.
Implementations§
Trait Implementations§
Source§impl<Prf, K, R> Kbkdf<Prf, K, R> for Feedback<'_, Prf, K, R>
impl<Prf, K, R> Kbkdf<Prf, K, R> for Feedback<'_, Prf, K, R>
Source§const FEEDBACK_KI: bool = true
const FEEDBACK_KI: bool = true
Whether the KI should be reinjected every round. Read more
Source§fn derive(
&self,
params: Params<'_, '_, '_>,
) -> Result<Array<u8, K::KeySize>, Error>
fn derive( &self, params: Params<'_, '_, '_>, ) -> Result<Array<u8, K::KeySize>, Error>
Derives
key from kin and other parameters.Source§const DOUBLE_PIPELINE: bool = false
const DOUBLE_PIPELINE: bool = false
Whether the KBKDF is in Double-Pipeline Mode.
Auto Trait Implementations§
impl<'a, Prf, K, R> Freeze for Feedback<'a, Prf, K, R>
impl<'a, Prf, K, R> RefUnwindSafe for Feedback<'a, Prf, K, R>where
Prf: RefUnwindSafe,
K: RefUnwindSafe,
R: RefUnwindSafe,
<<Prf as OutputSizeUser>::OutputSize as ArraySize>::ArrayType<u8>: RefUnwindSafe,
impl<'a, Prf, K, R> Send for Feedback<'a, Prf, K, R>
impl<'a, Prf, K, R> Sync for Feedback<'a, Prf, K, R>
impl<'a, Prf, K, R> Unpin for Feedback<'a, Prf, K, R>
impl<'a, Prf, K, R> UnsafeUnpin for Feedback<'a, Prf, K, R>
impl<'a, Prf, K, R> UnwindSafe for Feedback<'a, Prf, K, R>where
Prf: UnwindSafe,
K: UnwindSafe,
R: UnwindSafe,
<<Prf as OutputSizeUser>::OutputSize as ArraySize>::ArrayType<u8>: RefUnwindSafe,
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