Skip to main content

AeadCore

Trait AeadCore 

Source
pub trait AeadCore {
    type NonceSize: ArraySize;
    type TagSize: ArraySize;

    const TAG_POSITION: TagPosition;
}
Expand description

Authenticated Encryption with Associated Data (AEAD) algorithm.

Required Associated Constants§

Source

const TAG_POSITION: TagPosition

The AEAD tag position.

Required Associated Types§

Source

type NonceSize: ArraySize

The length of a nonce.

Source

type TagSize: ArraySize

The maximum length of the tag.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<Aes, NonceSize, TagSize> AeadCore for AesGcm<Aes, NonceSize, TagSize>
where NonceSize: ArraySize, TagSize: TagSize,

Source§

const TAG_POSITION: TagPosition = TagPosition::Postfix

Source§

type NonceSize = NonceSize

Source§

type TagSize = TagSize