pub struct Aes192 { /* private fields */ }
Expand description
AES-192 block cipher instance
Trait Implementations
sourceimpl BlockCipher for Aes192
impl BlockCipher for Aes192
type ParBlocks = U8
type ParBlocks = U8
Number of blocks which can be processed in parallel by cipher implementation Read more
sourcefn encrypt_block(&self, block: &mut GenericArray<u8, U16>)
fn encrypt_block(&self, block: &mut GenericArray<u8, U16>)
Encrypt block in-place
sourcefn decrypt_block(&self, block: &mut GenericArray<u8, U16>)
fn decrypt_block(&self, block: &mut GenericArray<u8, U16>)
Decrypt block in-place
sourcefn encrypt_blocks(&self, blocks: &mut GenericArray<GenericArray<u8, U16>, U8>)
fn encrypt_blocks(&self, blocks: &mut GenericArray<GenericArray<u8, U16>, U8>)
Encrypt several blocks in parallel using instruction level parallelism if possible. Read more
sourcefn decrypt_blocks(&self, blocks: &mut GenericArray<GenericArray<u8, U16>, U8>)
fn decrypt_blocks(&self, blocks: &mut GenericArray<GenericArray<u8, U16>, U8>)
Decrypt several blocks in parallel using instruction level parallelism if possible. Read more
sourceimpl NewBlockCipher for Aes192
impl NewBlockCipher for Aes192
sourcefn new(key: &GenericArray<u8, U24>) -> Self
fn new(key: &GenericArray<u8, U24>) -> Self
Create new block cipher instance from key with fixed size.
sourcefn new_varkey(key: &[u8]) -> Result<Self, InvalidKeyLength>
fn new_varkey(key: &[u8]) -> Result<Self, InvalidKeyLength>
Create new block cipher instance from key with variable size. Read more
Auto Trait Implementations
impl RefUnwindSafe for Aes192
impl Send for Aes192
impl Sync for Aes192
impl Unpin for Aes192
impl UnwindSafe for Aes192
Blanket Implementations
sourceimpl<Alg> BlockCipherMut for Alg where
Alg: BlockCipher,
impl<Alg> BlockCipherMut for Alg where
Alg: BlockCipher,
type BlockSize = <Alg as BlockCipher>::BlockSize
type BlockSize = <Alg as BlockCipher>::BlockSize
Size of the block in bytes
sourcepub fn encrypt_block(
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipherMut>::BlockSize>
)
pub fn encrypt_block(
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipherMut>::BlockSize>
)
Encrypt block in-place
sourcepub fn decrypt_block(
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipherMut>::BlockSize>
)
pub fn decrypt_block(
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipherMut>::BlockSize>
)
Decrypt block in-place
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more