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