Embassy
embassy-stm32

Crates

git

Versions

stm32f756ng

Flavors

Trait embassy_stm32::cryp::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.

Object Safety§

This trait is not object safe.

Implementors§

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>

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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

source§

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