Trait idea::BlockDecrypt[][src]

pub trait BlockDecrypt: BlockCipher {
    pub fn decrypt_block(&self, block: &mut GenericArray<u8, Self::BlockSize>);

    pub fn decrypt_par_blocks(
        &self,
        blocks: &mut GenericArray<GenericArray<u8, Self::BlockSize>, Self::ParBlocks>
    ) { ... }
pub fn decrypt_blocks(
        &self,
        blocks: &mut [GenericArray<u8, Self::BlockSize>]
    ) { ... } }

Decrypt-only functionality for block ciphers.

Required methods

pub fn decrypt_block(&self, block: &mut GenericArray<u8, Self::BlockSize>)[src]

Decrypt block in-place

Loading content...

Provided methods

pub 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.

If ParBlocks equals to 1 it’s equivalent to decrypt_block.

pub fn decrypt_blocks(&self, blocks: &mut [GenericArray<u8, Self::BlockSize>])[src]

Decrypt a slice of blocks, leveraging parallelism when available.

Loading content...

Implementors

impl BlockDecrypt for Idea[src]

impl<'_, Alg> BlockDecrypt for &'_ Alg where
    Alg: BlockDecrypt
[src]

Loading content...