Function yubihsm::command::hmac::hmac[][src]

pub fn hmac<A, D>(
    session: &mut Session<A>,
    key_id: ObjectId,
    data: D
) -> Result<HMACTag, SessionError> where
    A: Adapter,
    D: Into<Vec<u8>>, 

Compute an HMAC tag of the given data with the given key ID