pub struct Poly1305 { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Mac for Poly1305
impl Mac for Poly1305
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 Poly1305
Auto Trait Implementations§
impl Freeze for Poly1305
impl RefUnwindSafe for Poly1305
impl Send for Poly1305
impl Sync for Poly1305
impl Unpin for Poly1305
impl UnwindSafe for Poly1305
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
)