#[repr(u8)]pub enum Icbsz {
Bits32 = 0,
Bits64 = 1,
Bits96 = 2,
Bit128 = 3,
}Expand description
This sets the ICB size between 32 and 128 bits, using the following rules. Note that the counter is assumed to occupy the low order bits of the IV.
Value on reset: 0
Variants§
Bits32 = 0
0: 32 bits of the IV/ctr are used (from 127:96)
Bits64 = 1
1: 64 bits of the IV/ctr are used (from 127:64)
Bits96 = 2
2: 96 bits of the IV/ctr are used (from 127:32)
Bit128 = 3
3: All 128 bits of the IV/ctr are used
Trait Implementations§
impl Copy for Icbsz
impl Eq for Icbsz
impl IsEnum for Icbsz
impl StructuralPartialEq for Icbsz
Auto Trait Implementations§
impl Freeze for Icbsz
impl RefUnwindSafe for Icbsz
impl Send for Icbsz
impl Sync for Icbsz
impl Unpin for Icbsz
impl UnwindSafe for Icbsz
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