Struct aes_soft::Aes128 [−][src]
pub struct Aes128 { /* fields omitted */ }
Expand description
AES-128 block cipher instance
Trait Implementations
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
Encrypt a slice of blocks, leveraging parallelism when available.
Decrypt a slice of blocks, leveraging parallelism when available.
Create new block cipher instance from key with fixed size.
Create new block cipher instance from key with variable size. Read more
Auto Trait Implementations
impl RefUnwindSafe for Aes128
impl UnwindSafe for Aes128
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