Struct nettle::aead::Gcm[][src]

pub struct Gcm<C: Cipher + BlockSizeIs16> { /* fields omitted */ }
Expand description

Galois/Counter mode (NIST SP800-38D).

Implementations

Size of a GCM digest in bytes.

Creates a new GCM instance with secret key and public nonce.

Trait Implementations

Length of the digest in bytes.

Adds associated data ad.

Encrypts one block src to dst.

Decrypts one block src to dst.

Produce the digest.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.