Trait aes::BlockCipher
source · 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.
Required Associated Types§
sourcetype BlockSize: ArrayLength<u8>
type BlockSize: ArrayLength<u8>
Size of the block in bytes
sourcetype ParBlocks: ArrayLength<GenericArray<u8, Self::BlockSize>>
type ParBlocks: ArrayLength<GenericArray<u8, Self::BlockSize>>
Number of blocks which can be processed in parallel by cipher implementation