pub fn is_aead_on_block_cipher(self) -> bool {
        matches!(
            self,
            Aead::AeadWithDefaultLengthTag(AeadWithDefaultLengthTag::Ccm)
                | Aead::AeadWithDefaultLengthTag(AeadWithDefaultLengthTag::Gcm)
                | Aead::AeadWithShortenedTag {
                    aead_alg: AeadWithDefaultLengthTag::Ccm,
                    ..
                }
                | Aead::AeadWithShortenedTag {
                    aead_alg: AeadWithDefaultLengthTag::Gcm,
                    ..
                }
        )
    }
/// Check if the Aead algorithm needs a block cipher
Check if the Aead algorithm needs a block cipher
Check if the Aead algorithm needs a block cipher
pub fn is_aead_on_block_cipher(self) -> bool {
        matches!(
            self,
            Aead::AeadWithDefaultLengthTag(AeadWithDefaultLengthTag::Ccm)
                | Aead::AeadWithDefaultLengthTag(AeadWithDefaultLengthTag::Gcm)
                | Aead::AeadWithShortenedTag {
                    aead_alg: AeadWithDefaultLengthTag::Ccm,
                    ..
                }
                | Aead::AeadWithShortenedTag {
                    aead_alg: AeadWithDefaultLengthTag::Gcm,
                    ..
                }
        )
    }
pub fn is_aead_on_block_cipher ( self ) -> bool { matches ! ( self Aead AeadWithDefaultLengthTag ( AeadWithDefaultLengthTag Ccm ) Aead AeadWithDefaultLengthTag ( AeadWithDefaultLengthTag Gcm ) Aead AeadWithShortenedTag { aead_alg AeadWithDefaultLengthTag Ccm } Aead AeadWithShortenedTag { aead_alg AeadWithDefaultLengthTag Gcm } ) }
Check if the Aead algorithm needs a block cipher
Check if the Aead algorithm needs a block cipher
self
self