pub enum KbkdfCounterLen {
Bits8 = 8,
Bits16 = 16,
Bits24 = 24,
Bits32 = 32,
}Expand description
Counter field length (in bits) for KBKDF counter mode.
Variants§
Bits8 = 8
8-bit counter.
Bits16 = 16
16-bit counter.
Bits24 = 24
24-bit counter.
Bits32 = 32
32-bit counter (default).
Trait Implementations§
Source§impl Clone for KbkdfCounterLen
impl Clone for KbkdfCounterLen
Source§fn clone(&self) -> KbkdfCounterLen
fn clone(&self) -> KbkdfCounterLen
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 KbkdfCounterLen
impl Debug for KbkdfCounterLen
Source§impl Default for KbkdfCounterLen
impl Default for KbkdfCounterLen
Source§fn default() -> KbkdfCounterLen
fn default() -> KbkdfCounterLen
Returns the “default value” for a type. Read more
Source§impl PartialEq for KbkdfCounterLen
impl PartialEq for KbkdfCounterLen
impl Copy for KbkdfCounterLen
impl Eq for KbkdfCounterLen
impl StructuralPartialEq for KbkdfCounterLen
Auto Trait Implementations§
impl Freeze for KbkdfCounterLen
impl RefUnwindSafe for KbkdfCounterLen
impl Send for KbkdfCounterLen
impl Sync for KbkdfCounterLen
impl Unpin for KbkdfCounterLen
impl UnwindSafe for KbkdfCounterLen
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