Struct crypto::blockmodes::EncPadding[][src]

pub struct EncPadding<X> { /* fields omitted */ }

Wraps a PaddingProcessor so that only pad_input() will actually be called.

Trait Implementations

impl<X: PaddingProcessor> PaddingProcessor for EncPadding<X>
[src]

Add padding to the last block of input data If the mode can't handle a non-full block, it signals that error by simply leaving the block as it is which will be detected as an InvalidLength error. Read more

Remove padding from the last block of output data If false is returned, the processing fails Read more

Auto Trait Implementations

impl<X> Send for EncPadding<X> where
    X: Send

impl<X> Sync for EncPadding<X> where
    X: Sync