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

Decrypt-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 decrypt_block_mut(&mut self, block: &mut Block<Self>)

Decrypt block in-place

Implementors§