Struct ring::aead::Algorithm[][src]

pub struct Algorithm { /* fields omitted */ }

An AEAD Algorithm.

C analog: EVP_AEAD

Go analog: crypto.cipher.AEAD

Methods

impl Algorithm
[src]

The length of the key.

C analog: EVP_AEAD_key_length

The length of a tag.

See also MAX_TAG_LEN.

C analog: EVP_AEAD_max_overhead

Go analog: crypto.cipher.AEAD.Overhead

The length of the nonces.

C analog: EVP_AEAD_nonce_length

Go analog: crypto.cipher.AEAD.NonceSize

Trait Implementations

impl PartialEq for Algorithm
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Algorithm
[src]

Auto Trait Implementations

impl Send for Algorithm

impl Sync for Algorithm