Trait cipher::BlockEncryptMut [−][src]
pub trait BlockEncryptMut: BlockCipher { fn encrypt_block_mut(&mut self, block: &mut Block<Self>); }
Encrypt-only functionality for block ciphers with mutable access to self
.
The main use case for this trait is hardware encryption engines which
require &mut self
access to an underlying hardware peripheral.
Required methods
fn encrypt_block_mut(&mut self, block: &mut Block<Self>)
[src]
Encrypt block in-place
Implementors
impl<Alg: BlockEncrypt> BlockEncryptMut for Alg
[src]
impl<Alg: BlockEncrypt> BlockEncryptMut for Alg
[src]