Struct crypto::sosemanuk::Sosemanuk [] [src]

pub struct Sosemanuk {
    // some fields omitted
}

Methods

impl Sosemanuk

fn new(key: &[u8], nonce: &[u8]) -> Sosemanuk

Trait Implementations

impl Clone for Sosemanuk

fn clone(&self) -> Sosemanuk

fn clone_from(&mut self, source: &Self)

impl SynchronousStreamCipher for Sosemanuk

fn process(&mut self, input: &[u8], output: &mut [u8])

impl Encryptor for Sosemanuk

fn encrypt(&mut self, input: &mut RefReadBuffer, output: &mut RefWriteBuffer, _: bool) -> Result<BufferResult, SymmetricCipherError>

impl Decryptor for Sosemanuk

fn decrypt(&mut self, input: &mut RefReadBuffer, output: &mut RefWriteBuffer, _: bool) -> Result<BufferResult, SymmetricCipherError>

Derived Implementations

impl Copy for Sosemanuk