Struct crypto::blockmodes::CtrModeX8 [−][src]
pub struct CtrModeX8<A> { /* fields omitted */ }CTR Mode that operates on 8 blocks at a time
Methods
impl<A: BlockEncryptorX8> CtrModeX8<A>[src]
impl<A: BlockEncryptorX8> CtrModeX8<A>pub fn new(algo: A, ctr: &[u8]) -> CtrModeX8<A>[src]
pub fn new(algo: A, ctr: &[u8]) -> CtrModeX8<A>Create a new CTR object that operates on 8 blocks at a time
pub fn reset(&mut self, ctr: &[u8])[src]
pub fn reset(&mut self, ctr: &[u8])Trait Implementations
impl<A: BlockEncryptorX8> SynchronousStreamCipher for CtrModeX8<A>[src]
impl<A: BlockEncryptorX8> SynchronousStreamCipher for CtrModeX8<A>impl<A: BlockEncryptorX8> Encryptor for CtrModeX8<A>[src]
impl<A: BlockEncryptorX8> Encryptor for CtrModeX8<A>fn encrypt(
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
_: bool
) -> Result<BufferResult, SymmetricCipherError>[src]
fn encrypt(
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
_: bool
) -> Result<BufferResult, SymmetricCipherError>impl<A: BlockEncryptorX8> Decryptor for CtrModeX8<A>[src]
impl<A: BlockEncryptorX8> Decryptor for CtrModeX8<A>fn decrypt(
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
_: bool
) -> Result<BufferResult, SymmetricCipherError>[src]
fn decrypt(
&mut self,
input: &mut RefReadBuffer,
output: &mut RefWriteBuffer,
_: bool
) -> Result<BufferResult, SymmetricCipherError>