Struct nettle::aead::Ccm [−][src]
pub struct Ccm<C: Cipher + BlockSizeIs16> { /* fields omitted */ }
Expand description
Counter with CBC-MAC mode (NIST SP800-38C).
CCM is a generic AEAD mode for block cipher with 128 bit block size.
Implementations
Recommended size of the CCM digest in bytes.
Creates a new instance with secret key
and public nonce
. The instance expect additional
data of ad_len
bytes, a overall message of msg_len
and will produce a digest of
digest_len
bytes.
Trait Implementations
Length of the digest in bytes.
Auto Trait Implementations
impl<C> RefUnwindSafe for Ccm<C> where
C: RefUnwindSafe,
impl<C> UnwindSafe for Ccm<C> where
C: UnwindSafe,