Struct aes::soft::Aes128BackEnc
source · pub(crate) struct Aes128BackEnc<'a>(&'a Aes128);
Tuple Fields§
§0: &'a Aes128
Trait Implementations§
source§impl<'a> BlockBackend for Aes128BackEnc<'a>
impl<'a> BlockBackend for Aes128BackEnc<'a>
source§fn proc_block(&mut self, block: InOut<'_, '_, Block>)
fn proc_block(&mut self, block: InOut<'_, '_, Block>)
Process single inout block.
source§fn proc_par_blocks(&mut self, blocks: InOut<'_, '_, GenericArray<Block, U4>>)
fn proc_par_blocks(&mut self, blocks: InOut<'_, '_, GenericArray<Block, U4>>)
Process inout blocks in parallel.
source§fn proc_tail_blocks(
&mut self,
blocks: InOutBuf<'_, '_, GenericArray<u8, Self::BlockSize>>,
)
fn proc_tail_blocks( &mut self, blocks: InOutBuf<'_, '_, GenericArray<u8, Self::BlockSize>>, )
Process buffer of inout blocks. Length of the buffer MUST be smaller
than
Self::ParBlocksSize
.source§fn proc_block_inplace(&mut self, block: &mut GenericArray<u8, Self::BlockSize>)
fn proc_block_inplace(&mut self, block: &mut GenericArray<u8, Self::BlockSize>)
Process single block in-place.
source§fn proc_par_blocks_inplace(
&mut self,
blocks: &mut GenericArray<GenericArray<u8, Self::BlockSize>, Self::ParBlocksSize>,
)
fn proc_par_blocks_inplace( &mut self, blocks: &mut GenericArray<GenericArray<u8, Self::BlockSize>, Self::ParBlocksSize>, )
Process blocks in parallel in-place.
source§fn proc_tail_blocks_inplace(
&mut self,
blocks: &mut [GenericArray<u8, Self::BlockSize>],
)
fn proc_tail_blocks_inplace( &mut self, blocks: &mut [GenericArray<u8, Self::BlockSize>], )
Process buffer of blocks in-place. Length of the buffer MUST be smaller
than
Self::ParBlocksSize
.source§impl<'a> BlockSizeUser for Aes128BackEnc<'a>
impl<'a> BlockSizeUser for Aes128BackEnc<'a>
source§impl<'a> ParBlocksSizeUser for Aes128BackEnc<'a>
impl<'a> ParBlocksSizeUser for Aes128BackEnc<'a>
Auto Trait Implementations§
impl<'a> Freeze for Aes128BackEnc<'a>
impl<'a> RefUnwindSafe for Aes128BackEnc<'a>
impl<'a> Send for Aes128BackEnc<'a>
impl<'a> Sync for Aes128BackEnc<'a>
impl<'a> Unpin for Aes128BackEnc<'a>
impl<'a> UnwindSafe for Aes128BackEnc<'a>
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