embassy-stm32

Crates

git

Versions

stm32h750ib

Flavors

Skip to main content

HmacMode

Trait HmacMode 

Source
pub trait HmacMode<A: AlgorithmSpec> {
    type Key;
    type Csr: CsrStorage;

    const HMAC: bool;
    const CSR_COUNT: usize;

    // Required methods
    fn key(key: A::KeyBuffer) -> Self::Key;
    fn key_ref(key: &Self::Key) -> Option<&[u8]>;
}

Required Associated Constants§

Required Associated Types§

Required Methods§

Source

fn key(key: A::KeyBuffer) -> Self::Key

Source

fn key_ref(key: &Self::Key) -> Option<&[u8]>

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§