struct Backend<R: Unsigned> {
v: [__m256i; 3],
ctr: [__m256i; 2],
_pd: PhantomData<R>,
}Fields§
§v: [__m256i; 3]§ctr: [__m256i; 2]§_pd: PhantomData<R>Trait Implementations§
Source§impl<R: Unsigned> BlockSizeUser for Backend<R>
impl<R: Unsigned> BlockSizeUser for Backend<R>
Source§impl<R: Unsigned> ParBlocksSizeUser for Backend<R>
impl<R: Unsigned> ParBlocksSizeUser for Backend<R>
Source§impl<R: Unsigned> StreamBackend for Backend<R>
impl<R: Unsigned> StreamBackend for Backend<R>
Source§fn gen_ks_block(&mut self, block: &mut GenericArray<u8, U64>)
fn gen_ks_block(&mut self, block: &mut GenericArray<u8, U64>)
Generate keystream block.
Source§fn gen_par_ks_blocks(&mut self, blocks: &mut ParBlocks<Self>)
fn gen_par_ks_blocks(&mut self, blocks: &mut ParBlocks<Self>)
Generate keystream blocks in parallel.
Source§fn gen_tail_blocks(&mut self, blocks: &mut [GenericArray<u8, Self::BlockSize>])
fn gen_tail_blocks(&mut self, blocks: &mut [GenericArray<u8, Self::BlockSize>])
Generate keystream blocks. Length of the buffer MUST be smaller
than
Self::ParBlocksSize.Auto Trait Implementations§
impl<R> Freeze for Backend<R>
impl<R> RefUnwindSafe for Backend<R>where
R: RefUnwindSafe,
impl<R> Send for Backend<R>where
R: Send,
impl<R> Sync for Backend<R>where
R: Sync,
impl<R> Unpin for Backend<R>where
R: Unpin,
impl<R> UnwindSafe for Backend<R>where
R: UnwindSafe,
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