Trait HmacSha512

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

Required Methods§

Source

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

Call before adding data to perform HMACSha512

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

Implementors§

impl<'a, S: Sha256 + DigestDataHash<'a, 32>> HmacSha512 for HmacSha256Software<'a, S>

impl HmacSha512 for Hmac<'_>