Struct aesni::Aes256 [−][src]
pub struct Aes256 { /* fields omitted */ }
Expand description
AES-256 block cipher
Trait Implementations
type BlockSize = U16
type BlockSize = U16
Size of the block in bytes
type ParBlocks = U8
type ParBlocks = U8
Number of blocks which can be processed in parallel by cipher implementation Read more
Encrypt block in-place
Decrypt block in-place
Encrypt several blocks in parallel using instruction level parallelism if possible. Read more
Decrypt several blocks in parallel using instruction level parallelism if possible. Read more
Auto Trait Implementations
impl RefUnwindSafe for Aes256
impl UnwindSafe for Aes256
Blanket Implementations
type BlockSize = <Alg as BlockCipher>::BlockSize
type BlockSize = <Alg as BlockCipher>::BlockSize
Size of the block in bytes
pub fn encrypt_block(
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipherMut>::BlockSize>
)
pub fn encrypt_block(
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipherMut>::BlockSize>
)
Encrypt block in-place
pub fn decrypt_block(
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipherMut>::BlockSize>
)
pub fn decrypt_block(
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipherMut>::BlockSize>
)
Decrypt block in-place
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self