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