pub(crate) struct Backend<'a, R: Rounds, V: Variant>(pub(crate) &'a mut ChaChaCore<R, V>);Tuple Fields§
§0: &'a mut ChaChaCore<R, V>Implementations§
Trait Implementations§
Source§impl<R: Rounds, V: Variant> BlockSizeUser for Backend<'_, R, V>
Available on crate feature cipher only.
impl<R: Rounds, V: Variant> BlockSizeUser for Backend<'_, R, V>
Available on crate feature
cipher only.Source§impl<R: Rounds, V: Variant> ParBlocksSizeUser for Backend<'_, R, V>
Available on crate feature cipher only.
impl<R: Rounds, V: Variant> ParBlocksSizeUser for Backend<'_, R, V>
Available on crate feature
cipher only.Source§impl<R: Rounds, V: Variant> StreamCipherBackend for Backend<'_, R, V>
Available on crate feature cipher only.
impl<R: Rounds, V: Variant> StreamCipherBackend for Backend<'_, R, V>
Available on crate feature
cipher only.Source§fn gen_par_ks_blocks(
&mut self,
blocks: &mut Array<Array<u8, Self::BlockSize>, Self::ParBlocksSize>,
)
fn gen_par_ks_blocks( &mut self, blocks: &mut Array<Array<u8, Self::BlockSize>, Self::ParBlocksSize>, )
Generate keystream blocks in parallel.
Auto Trait Implementations§
impl<'a, R, V> Freeze for Backend<'a, R, V>
impl<'a, R, V> RefUnwindSafe for Backend<'a, R, V>where
R: RefUnwindSafe,
V: RefUnwindSafe,
impl<'a, R, V> Send for Backend<'a, R, V>
impl<'a, R, V> Sync for Backend<'a, R, V>
impl<'a, R, V> Unpin for Backend<'a, R, V>
impl<'a, R, V> UnsafeUnpin for Backend<'a, R, V>
impl<'a, R, V> !UnwindSafe for Backend<'a, R, V>
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