[][src]Struct orion::hazardous::mac::poly1305::Poly1305

#[must_use]
pub struct Poly1305 { /* fields omitted */ }

Poly1305 streaming state.

Methods

impl Poly1305[src]

pub fn reset(&mut self)[src]

Reset to init() state.

#[must_use]
pub fn update(&mut self, data: &[u8]) -> Result<(), UnknownCryptoError>
[src]

Update state with a data. This can be called multiple times.

#[must_use]
pub fn finalize(&mut self) -> Result<Tag, UnknownCryptoError>
[src]

Return a Poly1305 tag.

Trait Implementations

impl Drop for Poly1305[src]

impl Clone for Poly1305[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for Poly1305[src]

Auto Trait Implementations

impl Send for Poly1305

impl Sync for Poly1305

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]