Trait aes::BlockCipher[][src]

pub trait BlockCipher {
    type BlockSize: ArrayLength<u8>;
    type ParBlocks: ArrayLength<GenericArray<u8, Self::BlockSize>>;
}
Expand description

Trait which marks a type as being a block cipher.

Associated Types

type BlockSize: ArrayLength<u8>[src]

Size of the block in bytes

type ParBlocks: ArrayLength<GenericArray<u8, Self::BlockSize>>[src]

Number of blocks which can be processed in parallel by cipher implementation

Implementors

impl BlockCipher for Aes128[src]

type BlockSize = U16

type ParBlocks = U8

impl BlockCipher for Aes192[src]

type BlockSize = U16

type ParBlocks = U8

impl BlockCipher for Aes256[src]

type BlockSize = U16

type ParBlocks = U8

impl<'_, Alg> BlockCipher for &'_ Alg where
    Alg: BlockCipher
[src]