pub trait BlockEncryptMut: BlockCipher {
    // Required method
    fn encrypt_block_mut(&mut self, block: &mut Block<Self>);
}
Expand description

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§

source

fn encrypt_block_mut(&mut self, block: &mut Block<Self>)

Encrypt block in-place

Implementors§