Struct crypto::ghash::Ghash[][src]

pub struct Ghash { /* fields omitted */ }

A structure representing the state of a GHASH computation

Methods

impl Ghash
[src]

Creates a new GHASH state, with h as the key

Feeds data for GHASH's A input

Feeds data for GHASH's C input

Retrieve the digest result

Trait Implementations

impl Copy for Ghash
[src]

impl Clone for Ghash
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Mac for Ghash
[src]

Process input data. Read more

Reset the Mac state to begin processing another input stream.

Obtain the result of a Mac computation as a MacResult.

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. Read more

Get the size of the Mac code, in bytes.

Auto Trait Implementations

impl Send for Ghash

impl Sync for Ghash