pub struct Aes192Dec { /* private fields */ }
Expand description
AES-192 block cipher (decrypt-only)
Trait Implementations
sourceimpl AlgorithmName for Aes192Dec
impl AlgorithmName for Aes192Dec
sourcefn write_alg_name(f: &mut Formatter<'_>) -> Result
fn write_alg_name(f: &mut Formatter<'_>) -> Result
Write algorithm name into f
.
sourceimpl BlockDecrypt for Aes192Dec
impl BlockDecrypt for Aes192Dec
sourcefn 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.
sourcefn decrypt_block_inout(
&self,
block: InOut<'_, '_, GenericArray<u8, Self::BlockSize>>
)
fn decrypt_block_inout(
&self,
block: InOut<'_, '_, GenericArray<u8, Self::BlockSize>>
)
Decrypt single inout
block.
sourcefn decrypt_blocks_inout(
&self,
blocks: InOutBuf<'_, '_, GenericArray<u8, Self::BlockSize>>
)
fn decrypt_blocks_inout(
&self,
blocks: InOutBuf<'_, '_, GenericArray<u8, Self::BlockSize>>
)
Decrypt inout
blocks.
sourcefn decrypt_block(&self, block: &mut GenericArray<u8, Self::BlockSize>)
fn decrypt_block(&self, block: &mut GenericArray<u8, Self::BlockSize>)
Decrypt single block in-place.
sourcefn decrypt_block_b2b(
&self,
in_block: &GenericArray<u8, Self::BlockSize>,
out_block: &mut GenericArray<u8, Self::BlockSize>
)
fn decrypt_block_b2b(
&self,
in_block: &GenericArray<u8, Self::BlockSize>,
out_block: &mut GenericArray<u8, Self::BlockSize>
)
Decrypt in_block
and write result to out_block
.
sourceimpl BlockSizeUser for Aes192Dec
impl BlockSizeUser for Aes192Dec
sourcefn block_size() -> usize
fn block_size() -> usize
Return block size in bytes.
sourceimpl KeyInit for Aes192Dec
impl KeyInit for Aes192Dec
sourcefn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength>
fn new_from_slice(key: &[u8]) -> Result<Self, InvalidLength>
Create new value from variable size key.
sourceimpl KeySizeUser for Aes192Dec
impl KeySizeUser for Aes192Dec
impl BlockCipher for Aes192Dec
Auto Trait Implementations
impl RefUnwindSafe for Aes192Dec
impl Send for Aes192Dec
impl Sync for Aes192Dec
impl Unpin for Aes192Dec
impl UnwindSafe for Aes192Dec
Blanket Implementations
sourceimpl<Alg> BlockDecryptMut for Alg where
Alg: BlockDecrypt,
impl<Alg> BlockDecryptMut for Alg where
Alg: BlockDecrypt,
sourcepub fn decrypt_with_backend_mut(
&mut self,
f: impl BlockClosure<BlockSize = <Alg as BlockSizeUser>::BlockSize>
)
pub fn decrypt_with_backend_mut(
&mut self,
f: impl BlockClosure<BlockSize = <Alg as BlockSizeUser>::BlockSize>
)
Decrypt data using backend provided to the rank-2 closure.
sourcefn decrypt_block_inout_mut(
&mut self,
block: InOut<'_, '_, GenericArray<u8, Self::BlockSize>>
)
fn decrypt_block_inout_mut(
&mut self,
block: InOut<'_, '_, GenericArray<u8, Self::BlockSize>>
)
Decrypt single inout
block.
sourcefn decrypt_blocks_inout_mut(
&mut self,
blocks: InOutBuf<'_, '_, GenericArray<u8, Self::BlockSize>>
)
fn decrypt_blocks_inout_mut(
&mut self,
blocks: InOutBuf<'_, '_, GenericArray<u8, Self::BlockSize>>
)
Decrypt inout
blocks.
sourcefn decrypt_block_mut(&mut self, block: &mut GenericArray<u8, Self::BlockSize>)
fn decrypt_block_mut(&mut self, block: &mut GenericArray<u8, Self::BlockSize>)
Decrypt single block in-place.
sourcefn decrypt_block_b2b_mut(
&mut self,
in_block: &GenericArray<u8, Self::BlockSize>,
out_block: &mut GenericArray<u8, Self::BlockSize>
)
fn decrypt_block_b2b_mut(
&mut self,
in_block: &GenericArray<u8, Self::BlockSize>,
out_block: &mut GenericArray<u8, Self::BlockSize>
)
Decrypt in_block
and write result to out_block
.
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more