pub struct Aes256Dec { /* private fields */ }Expand description
AES-256 block cipher (decrypt-only)
Trait Implementations§
Source§impl BlockCipherDecrypt for Aes256Dec
impl BlockCipherDecrypt for Aes256Dec
Source§fn decrypt_with_backend(&self, f: impl BlockCipherDecClosure<BlockSize = U16>)
fn decrypt_with_backend(&self, f: impl BlockCipherDecClosure<BlockSize = U16>)
Decrypt data using backend provided to the rank-2 closure.
Source§fn decrypt_block_inout(&self, block: InOut<'_, '_, Array<u8, Self::BlockSize>>)
fn decrypt_block_inout(&self, block: InOut<'_, '_, Array<u8, Self::BlockSize>>)
Decrypt single
inout block.Source§fn decrypt_blocks_inout(
&self,
blocks: InOutBuf<'_, '_, Array<u8, Self::BlockSize>>,
)
fn decrypt_blocks_inout( &self, blocks: InOutBuf<'_, '_, Array<u8, Self::BlockSize>>, )
Decrypt
inout blocks.Source§fn decrypt_block(&self, block: &mut Array<u8, Self::BlockSize>)
fn decrypt_block(&self, block: &mut Array<u8, Self::BlockSize>)
Decrypt single block in-place.
Source§fn decrypt_block_b2b(
&self,
in_block: &Array<u8, Self::BlockSize>,
out_block: &mut Array<u8, Self::BlockSize>,
)
fn decrypt_block_b2b( &self, in_block: &Array<u8, Self::BlockSize>, out_block: &mut Array<u8, Self::BlockSize>, )
Decrypt
in_block and write result to out_block.Source§fn decrypt_blocks(&self, blocks: &mut [Array<u8, Self::BlockSize>])
fn decrypt_blocks(&self, blocks: &mut [Array<u8, Self::BlockSize>])
Decrypt blocks in-place.
Auto Trait Implementations§
impl Freeze for Aes256Dec
impl RefUnwindSafe for Aes256Dec
impl Send for Aes256Dec
impl Sync for Aes256Dec
impl Unpin for Aes256Dec
impl UnsafeUnpin for Aes256Dec
impl UnwindSafe for Aes256Dec
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