pub struct GCM { /* fields omitted */ }
pub fn init(&mut self, nk: usize, key: &[u8], niv: usize, iv: &[u8])
[src]pub fn add_plain(&mut self, cipher: &mut [u8], plain: &[u8], len: usize) -> bool
[src]pub fn add_cipher(
&mut self,
plain: &mut [u8],
cipher: &[u8],
len: usize
) -> bool
[src]pub fn finish(&mut self, tag: &mut [u8], extract: bool)
[src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.