pub fn is_hmac(self) -> bool {
        matches!(
            self,
            Mac::FullLength(FullLengthMac::Hmac { .. })
                | Mac::Truncated {
                    mac_alg: FullLengthMac::Hmac { .. },
                    ..
                }
        )
    }
/// Check if the MAC algorithm is a HMAC algorithm, truncated or not
Check if the MAC algorithm is a HMAC algorithm, truncated or not
Check if the MAC algorithm is a HMAC algorithm truncated or not
pub fn is_hmac(self) -> bool {
        matches!(
            self,
            Mac::FullLength(FullLengthMac::Hmac { .. })
                | Mac::Truncated {
                    mac_alg: FullLengthMac::Hmac { .. },
                    ..
                }
        )
    }
pub fn is_hmac ( self ) -> bool { matches ! ( self Mac FullLength ( FullLengthMac Hmac { } ) Mac Truncated { mac_alg FullLengthMac Hmac { } } ) }
Check if the MAC algorithm is a HMAC algorithm, truncated or not
Check if the MAC algorithm is a HMAC algorithm truncated or not
self
self