#[repr(transparent)]pub struct Ctr128BE(_);
Expand description
128-bit big endian counter flavor.
Trait Implementations§
source§impl<B> CtrFlavor<B> for Ctr128BEwhere
Self: Default + Clone,
B: ArrayLength<u8> + PartialDiv<U16>,
PartialQuot<B, U16>: ArrayLength<u128>,
impl<B> CtrFlavor<B> for Ctr128BEwhere Self: Default + Clone, B: ArrayLength<u8> + PartialDiv<U16>, PartialQuot<B, U16>: ArrayLength<u128>,
§type Nonce = GenericArray<u128, <B as PartialDiv<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, B0>, B0>>>::Output>
type Nonce = GenericArray<u128, <B as PartialDiv<UInt<UInt<UInt<UInt<UInt<UTerm, B1>, B0>, B0>, 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
Auto Trait Implementations§
impl RefUnwindSafe for Ctr128BE
impl Send for Ctr128BE
impl Sync for Ctr128BE
impl Unpin for Ctr128BE
impl UnwindSafe for Ctr128BE
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