kernel::hil::digest

Trait HmacSha256

Source
pub trait HmacSha256 {
    // Required method
    fn set_mode_hmacsha256(&self, key: &[u8]) -> Result<(), ErrorCode>;
}

Required Methods§

Source

fn set_mode_hmacsha256(&self, key: &[u8]) -> Result<(), ErrorCode>

Call before adding data to perform HMACSha256

The key used for the HMAC is passed to this function.

Implementors§