esp_hal::aes

Trait AesFlavour

Source
pub trait AesFlavour: Sealed {
    type KeyType<'b>;
}
Available on crate feature unstable only.
Expand description

Specifications for AES flavours

Required Associated Types§

Source

type KeyType<'b>

Type of the AES key, a fixed-size array of bytes

The size of this type depends on various factors, such as the device being targeted and the desired key size.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl AesFlavour for Aes128

Source§

type KeyType<'b> = &'b [u8; 16]

Source§

impl AesFlavour for Aes192

Source§

type KeyType<'b> = &'b [u8; 24]

Source§

impl AesFlavour for Aes256

Source§

type KeyType<'b> = &'b [u8; 32]