Trait cipher::BlockDecryptMut[][src]

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

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

fn decrypt_block_mut(&mut self, block: &mut Block<Self>)[src]

Decrypt block in-place

Loading content...

Implementors

impl<Alg: BlockDecrypt> BlockDecryptMut for Alg[src]

Loading content...