pub fn is_block_cipher_needed(self) -> bool {
        matches!(
            self,
            Mac::FullLength(FullLengthMac::CbcMac)
                | Mac::FullLength(FullLengthMac::Cmac)
                | Mac::Truncated {
                    mac_alg: FullLengthMac::CbcMac,
                    ..
                }
                | Mac::Truncated {
                    mac_alg: FullLengthMac::Cmac,
                    ..
                }
        )
    }
/// Check if the MAC algorithm is a construction over a block cipher
Check if the MAC algorithm is a construction over a block cipher
Check if the MAC algorithm is a construction over a block cipher
pub fn is_block_cipher_needed(self) -> bool {
        matches!(
            self,
            Mac::FullLength(FullLengthMac::CbcMac)
                | Mac::FullLength(FullLengthMac::Cmac)
                | Mac::Truncated {
                    mac_alg: FullLengthMac::CbcMac,
                    ..
                }
                | Mac::Truncated {
                    mac_alg: FullLengthMac::Cmac,
                    ..
                }
        )
    }
pub fn is_block_cipher_needed ( self ) -> bool { matches ! ( self Mac FullLength ( FullLengthMac CbcMac ) Mac FullLength ( FullLengthMac Cmac ) Mac Truncated { mac_alg FullLengthMac CbcMac } Mac Truncated { mac_alg FullLengthMac Cmac } ) }
Check if the MAC algorithm is a construction over a block cipher
Check if the MAC algorithm is a construction over a block cipher
self
self