pub struct Ghash { /* private fields */ }
Expand description
A structure representing the state of a GHASH computation
Implementations§
Trait Implementations§
Source§impl Mac for Ghash
impl Mac for Ghash
Source§fn raw_result(&mut self, output: &mut [u8])
fn raw_result(&mut self, output: &mut [u8])
Obtain the result of a Mac computation as u8. This method should be used very carefully
since incorrect use of the Mac code could result in permitting a timing attack which defeats
the security provided by a Mac function.
Source§fn output_bytes(&self) -> usize
fn output_bytes(&self) -> usize
Get the size of the Mac code, in bytes.
impl Copy for Ghash
Auto Trait Implementations§
impl Freeze for Ghash
impl RefUnwindSafe for Ghash
impl Send for Ghash
impl Sync for Ghash
impl Unpin for Ghash
impl UnwindSafe for Ghash
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)