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§
type Key
type Csr: CsrStorage
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".