pub struct Aes256Dec { /* private fields */ }
Expand description
AES-256 block cipher (decrypt-only)
Trait Implementations§
source§impl AlgorithmName for Aes256Dec
impl AlgorithmName for Aes256Dec
source§fn write_alg_name(f: &mut Formatter<'_>) -> Result
fn write_alg_name(f: &mut Formatter<'_>) -> Result
Write algorithm name into
f
.source§impl BlockCipherDecrypt for Aes256Dec
impl BlockCipherDecrypt for Aes256Dec
source§fn decrypt_with_backend(&self, f: impl BlockClosure<BlockSize = U16>)
fn decrypt_with_backend(&self, f: impl BlockClosure<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§impl BlockSizeUser for Aes256Dec
impl BlockSizeUser for Aes256Dec
source§impl KeyInit for Aes256Dec
impl KeyInit for Aes256Dec
source§fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength>
fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength>
Create new value from variable size key.
source§impl KeySizeUser for Aes256Dec
impl KeySizeUser for Aes256Dec
impl BlockCipher for Aes256Dec
impl ZeroizeOnDrop for Aes256Dec
Auto Trait Implementations§
impl RefUnwindSafe for Aes256Dec
impl Send for Aes256Dec
impl Sync for Aes256Dec
impl Unpin 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