Struct crypto::blockmodes::CtrMode
[−]
[src]
pub struct CtrMode<A> { // some fields omitted }
CTR Mode
pub struct CtrMode<A> { // some fields omitted }
CTR Mode
impl<A: BlockEncryptor> CtrMode<A>
impl<A: BlockEncryptor> SynchronousStreamCipher for CtrMode<A>
impl<A: BlockEncryptor> Encryptor for CtrMode<A>
fn encrypt(&mut self, input: &mut RefReadBuffer, output: &mut RefWriteBuffer, _: bool) -> Result<BufferResult, SymmetricCipherError>
impl<A: BlockEncryptor> Decryptor for CtrMode<A>
fn decrypt(&mut self, input: &mut RefReadBuffer, output: &mut RefWriteBuffer, _: bool) -> Result<BufferResult, SymmetricCipherError>