Struct aes::Aes192Ctr [−][src]
pub struct Aes192Ctr { /* fields omitted */ }This is supported on crate feature
ctr only.AES-192 in CTR mode
Trait Implementations
impl FromBlockCipher for Aes192Ctr[src]
impl FromBlockCipher for Aes192Ctr[src]type BlockCipher = Aes192
type BlockCipher = Aes192Block cipher
type NonceSize = <Aes192 as BlockCipher>::BlockSize
type NonceSize = <Aes192 as BlockCipher>::BlockSizeNonce size in bytes
fn from_block_cipher(
cipher: Aes192,
nonce: &GenericArray<u8, Self::NonceSize>
) -> Self[src]
fn from_block_cipher(
cipher: Aes192,
nonce: &GenericArray<u8, Self::NonceSize>
) -> Self[src]Instantiate a stream cipher from a block cipher
impl StreamCipher for Aes192Ctr[src]
impl StreamCipher for Aes192Ctr[src]fn try_apply_keystream(&mut self, data: &mut [u8]) -> Result<(), LoopError>[src]
fn try_apply_keystream(&mut self, data: &mut [u8]) -> Result<(), LoopError>[src]Apply keystream to the data, but return an error if end of a keystream will be reached. Read more
fn apply_keystream(&mut self, data: &mut [u8])[src]
fn apply_keystream(&mut self, data: &mut [u8])[src]Apply keystream to the data. Read more
impl StreamCipherSeek for Aes192Ctr[src]
impl StreamCipherSeek for Aes192Ctr[src]fn try_current_pos<T: SeekNum>(&self) -> Result<T, OverflowError>[src]
fn try_current_pos<T: SeekNum>(&self) -> Result<T, OverflowError>[src]Try to get current keystream position Read more
fn try_seek<T: SeekNum>(&mut self, pos: T) -> Result<(), LoopError>[src]
fn try_seek<T: SeekNum>(&mut self, pos: T) -> Result<(), LoopError>[src]Try to seek to the given position Read more
fn current_pos<T>(&self) -> T where
T: SeekNum, [src]
fn current_pos<T>(&self) -> T where
T: SeekNum, [src]Get current keystream position Read more
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self