This section describes functions for authenticated encryption/decryption using the Counter with Cipher Block Chaining-Message Authentication Code (CCM) mode [NIST SP 800-38C] of the AES (Rijndael128) block cipher.
Table “Intel IPP AES-CCM Functions” lists Intel IPP AES-CCM functions:
Function Base Name | Operation |
---|---|
Rijndael128CCMEncryptMessage | Encrypts an entire message and generates its authentication tag in the CCM mode. |
Rijndael128CCMDecryptMessage | Decrypts an entire message and generates its authentication tag in the CCM mode. |
Rijndael128CCMGetSize | Gets the size of the IppsRijndael128CCMState context. |
Rijndael128CCMInit | Initializes user-supplied memory as the IppsRijndael128CCMState context for future use. |
Rijndael128CCMStart | Starts the process of authenticated encryption/decryption for a new message. |
Rijndael128CCMEncrypt | Encrypts a data buffer in the CCM mode. |
Rijndael128CCMDecrypt | Decrypts a data buffer in the CCM mode. |
Rijndael128CCMGetTag | Generates the message authentication tag in the CCM mode. |
Rijndael128CCMMessageLen | Sets up the length of the message to be processed. |
Rijndael128CCMTagLen | Sets up the length of the required authentication tag. |
The Intel IPP AES-CCM function set includes:
The AES-CCM incremental functions enable authenticated encryption/decryption of several messages using one key that the Rijndael128CCMInit function sets. The processing of each new message starts with a call to the Rijndael128CCMStart function. The application code for conducting a typical AES-CCM authenticated encryption should follow the sequence of operations as outlined below:
Copyright © 2000 - 2011, Intel Corporation. All rights reserved.