Struct ring::aead::Algorithm
[−]
[src]
pub struct Algorithm { // some fields omitted }
Methods
impl Algorithm
[src]
fn key_len(&self) -> usize
The length of the key.
C analog: EVP_AEAD_key_length
fn max_overhead_len(&self) -> usize
The maximum number of bytes that sealing operations may add to plaintexts.
See also MAX_OVERHEAD_LEN
.
C analog: EVP_AEAD_max_overhead
Go analog:
crypto.cipher.AEAD.Overhead