Struct aesni::CtrAes128
[−]
[src]
pub struct CtrAes128 { /* fields omitted */ }
AES128 in CTR mode
Methods
impl CtrAes128
[src]
pub fn new(key: &[u8; 16], nonce: &[u8; 16]) -> Self
[src]
pub fn xor(&mut self, buf: &mut [u8])
[src]
Trait Implementations
impl Clone for CtrAes128
[src]
fn clone(&self) -> CtrAes128
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more