embassy-stm32

Crates

git

Versions

stm32wba62ci

Flavors

Skip to main content

CipherAuthenticated

Trait CipherAuthenticated 

Source
pub trait CipherAuthenticated<const TAG_SIZE: usize> {
    const TAG_SIZE: usize = TAG_SIZE;
}
Expand description

This trait enables restriction of a header phase to authenticated ciphers only.

Provided Associated Constants§

Source

const TAG_SIZE: usize = TAG_SIZE

Defines the authentication tag size.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<'c, const KEY_SIZE: usize, const IV_SIZE: usize, const TAG_SIZE: usize> CipherAuthenticated<TAG_SIZE> for AesCcm<'c, KEY_SIZE, IV_SIZE, TAG_SIZE>

Source§

impl<'c, const KEY_SIZE: usize> CipherAuthenticated<16> for AesGcm<'c, KEY_SIZE>

Source§

impl<'c, const KEY_SIZE: usize> CipherAuthenticated<16> for AesGmac<'c, KEY_SIZE>