Struct ctr::Ctr32LE[][src]

pub struct Ctr32LE<B> where
    B: BlockCipher,
    B::ParBlocks: ArrayLength<GenericArray<u8, B::BlockSize>>,
    Block<B>: Copy
{ /* fields omitted */ }
Expand description

CTR mode with a 32-bit little endian counter.

Used by e.g. AES-GCM-SIV.

Implementations

Seek to the given NIST SP800-38D counter value.

Note: the serialized counter value is 1 larger than the argument value.

Get the current NIST SP800-38D counter value.

Trait Implementations

Block cipher

Nonce size in bytes

Instantiate a stream cipher from a block cipher

Apply keystream to the data, but return an error if end of a keystream will be reached. Read more

Apply keystream to the data. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Block cipher

Nonce size in bytes

Instantiate a stream cipher from a block cipher

Performs the conversion.

Should always be Self

Encrypt data in place.

Decrypt data in place.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.