#[repr(transparent)]pub struct Ctr32BE(_);
Expand description
32-bit big endian counter flavor.
Trait Implementations§
source§impl<B> CtrFlavor<B> for Ctr32BEwhere
Self: Default + Clone,
B: ArrayLength<u8> + PartialDiv<U4>,
PartialQuot<B, U4>: ArrayLength<u32>,
impl<B> CtrFlavor<B> for Ctr32BEwhere Self: Default + Clone, B: ArrayLength<u8> + PartialDiv<U4>, PartialQuot<B, U4>: ArrayLength<u32>,
§type Nonce = GenericArray<u32, <B as PartialDiv<UInt<UInt<UInt<UTerm, B1>, B0>, B0>>>::Output>
type Nonce = GenericArray<u32, <B as PartialDiv<UInt<UInt<UInt<UTerm, B1>, B0>, B0>>>::Output>
Inner representation of nonce.
source§fn generate_block(&self, nonce: &Self::Nonce) -> GenericArray<u8, B>
fn generate_block(&self, nonce: &Self::Nonce) -> GenericArray<u8, B>
Generate block for given
nonce
value.source§fn checked_add(&self, rhs: usize) -> Option<Self>
fn checked_add(&self, rhs: usize) -> Option<Self>
Checked addition.
source§fn to_backend(&self) -> Self::Backend
fn to_backend(&self) -> Self::Backend
Convert to a backend value
source§fn from_backend(v: Self::Backend) -> Self
fn from_backend(v: Self::Backend) -> Self
Convert from a backend value
impl Copy for Ctr32BE
Auto Trait Implementations§
impl RefUnwindSafe for Ctr32BE
impl Send for Ctr32BE
impl Sync for Ctr32BE
impl Unpin for Ctr32BE
impl UnwindSafe for Ctr32BE
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