Module Nettle.BlockCipher16()->CCM
- Description
Implementation of the Counter with Cipher Block Chaining Message Authentication Code mode (CCM).
Works as a wrapper for the cipher implemented by overloading the parent class (BlockCipher16).
This is a so-called authenticated encryption with associated data (AEAD) algorithm, and in addition to encryption also provides message digests.
The operation of CCM is specified in NIST Special Publication 800-38C.
- Note
This mode of operation is not suited for streaming operation, as the sizes of the associated data and payload data need to be known for the CBC-MAC operation to start. Currently this means that the associated data and payload data are buffered until State()->digest() is called.
- See also
- Inherit AEAD
inherit __builtin.Nettle.AEAD : AEAD
- Inherit CTR
inherit BlockCipher::CTR : CTR