Struct lpc55_hal::drivers::aes::Aes [−][src]
pub struct Aes<'a, Size: KeySize> { /* fields omitted */ }
Implementations
New AES struct implementing block-cipher
.
New AES starting in decryption mode
New AES starting in encryption mode
Optionally, configure peripheral for decryption ahead of time.
Optionally, configure peripheral for encryption ahead of time.
Methods from Deref<Target = Hashcrypt<Enabled>>
AES-128 “ECB”, as in RustCrypto block-cipher
trait
AES-192 “ECB”, as in RustCrypto block-cipher
trait
AES-256 “ECB”, as in RustCrypto block-cipher
trait
Trait Implementations
Decrypt block in-place
fn decrypt_par_blocks(
&self,
blocks: &mut GenericArray<GenericArray<u8, Self::BlockSize>, Self::ParBlocks>
)
[src]
fn decrypt_par_blocks(
&self,
blocks: &mut GenericArray<GenericArray<u8, Self::BlockSize>, Self::ParBlocks>
)
[src]Decrypt several blocks in parallel using instruction level parallelism if possible. Read more
Decrypt a slice of blocks, leveraging parallelism when available.
Encrypt block in-place
fn encrypt_par_blocks(
&self,
blocks: &mut GenericArray<GenericArray<u8, Self::BlockSize>, Self::ParBlocks>
)
[src]
fn encrypt_par_blocks(
&self,
blocks: &mut GenericArray<GenericArray<u8, Self::BlockSize>, Self::ParBlocks>
)
[src]Encrypt several blocks in parallel using instruction level parallelism if possible. Read more
Encrypt a slice of blocks, leveraging parallelism when available.
Auto Trait Implementations
impl<'a, Size> Unpin for Aes<'a, Size> where
<Size as ArrayLength<u8>>::ArrayType: Unpin,
Blanket Implementations
pub fn decrypt_block_mut(
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipher>::BlockSize>
)
[src]
pub fn decrypt_block_mut(
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipher>::BlockSize>
)
[src]Decrypt block in-place
pub fn encrypt_block_mut(
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipher>::BlockSize>
)
[src]
pub fn encrypt_block_mut(
&mut self,
block: &mut GenericArray<u8, <Alg as BlockCipher>::BlockSize>
)
[src]Encrypt block in-place
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self