pub struct Counter<Prf, K, R = U32> { /* private fields */ }Expand description
KBKDF in Counter Mode.
Trait Implementations§
Source§impl<Prf, K, R> Kbkdf<Prf, K, R> for Counter<Prf, K, R>
impl<Prf, K, R> Kbkdf<Prf, K, R> for Counter<Prf, K, R>
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 FEEDBACK_KI: bool = false
const FEEDBACK_KI: bool = false
Whether the KI should be reinjected every round. Read more
Source§const DOUBLE_PIPELINE: bool = false
const DOUBLE_PIPELINE: bool = false
Whether the KBKDF is in Double-Pipeline Mode.
Auto Trait Implementations§
impl<Prf, K, R> Freeze for Counter<Prf, K, R>
impl<Prf, K, R> RefUnwindSafe for Counter<Prf, K, R>
impl<Prf, K, R> Send for Counter<Prf, K, R>
impl<Prf, K, R> Sync for Counter<Prf, K, R>
impl<Prf, K, R> Unpin for Counter<Prf, K, R>
impl<Prf, K, R> UnsafeUnpin for Counter<Prf, K, R>
impl<Prf, K, R> UnwindSafe for Counter<Prf, K, R>
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