[][src]Trait kernel::hil::digest::HMACSha256

pub trait HMACSha256 {
    fn set_mode_hmacsha256(&self, key: &[u8; 32]) -> Result<(), ReturnCode>;
}

Required methods

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

Call before Digest::run() to perform HMACSha256

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

Loading content...

Implementors

Loading content...