Struct aes::Aes192Ctr[][src]

pub struct Aes192Ctr { /* fields omitted */ }
This is supported on crate feature ctr only.
Expand description

AES-192 in CTR mode

Trait Implementations

impl Debug for Aes192Ctr[src]

fn fmt(&self, f: &mut Formatter<'_>) -> Result<(), Error>[src]

Formats the value using the given formatter. Read more

impl FromBlockCipher for Aes192Ctr[src]

type BlockCipher = Aes192

Block cipher

type NonceSize = <Aes192 as BlockCipher>::BlockSize

Nonce size in bytes

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]

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]

Apply keystream to the data. Read more

impl StreamCipherSeek for Aes192Ctr[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]

Try to seek to the given position Read more

fn current_pos<T>(&self) -> T where
    T: SeekNum
[src]

Get current keystream position Read more

fn seek<T>(&mut self, pos: T) where
    T: SeekNum
[src]

Seek to the given position Read more

Auto Trait Implementations

impl Send for Aes192Ctr

impl Sync for Aes192Ctr

impl Unpin for Aes192Ctr

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

pub fn type_id(&self) -> TypeId[src]

Gets the TypeId of self. Read more

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

pub fn borrow(&self) -> &T[src]

Immutably borrows from an owned value. Read more

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

pub fn borrow_mut(&mut self) -> &mut T[src]

Mutably borrows from an owned value. Read more

impl<T> From<T> for T[src]

pub fn from(t: T) -> T[src]

Performs the conversion.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

pub fn into(self) -> U[src]

Performs the conversion.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]

Performs the conversion.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]

Performs the conversion.