NXP Reader Library  v17.1.0.2535
Cipher Modes

Supported Cipher Modes. More...

Collaboration diagram for Cipher Modes:

Macros

#define PH_CRYPTOSYM_CIPHER_MODE_ECB   0x00U
 Electronic Code Book (ECB) Cipher Mode.
 
#define PH_CRYPTOSYM_CIPHER_MODE_CBC   0x01U
 Cipher Block Chaining (CBC) Cipher Mode.
 
#define PH_CRYPTOSYM_CIPHER_MODE_CBC_DF4   0x02U
 Cipher Block Chaining (CBC) Cipher Mode for D40 Secure Messaging.
 
#define PH_CRYPTOSYM_CIPHER_MODE_CCM   0x04U
 Counter with Cipher Block Chaining-Message Authentication Code (CCM) Cipher Mode. More...
 
#define PH_CRYPTOSYM_CIPHER_MODE_CCM_STAR   0x05U
 Counter with Cipher Block Chaining-Message Authentication Code (CCM*) Cipher Mode. More...
 

Detailed Description

Supported Cipher Modes.

Macro Definition Documentation

◆ PH_CRYPTOSYM_CIPHER_MODE_CCM

#define PH_CRYPTOSYM_CIPHER_MODE_CCM   0x04U

Counter with Cipher Block Chaining-Message Authentication Code (CCM) Cipher Mode.

Also known as Counter with CBC-MAC

◆ PH_CRYPTOSYM_CIPHER_MODE_CCM_STAR

#define PH_CRYPTOSYM_CIPHER_MODE_CCM_STAR   0x05U

Counter with Cipher Block Chaining-Message Authentication Code (CCM*) Cipher Mode.

Supports MAC lengths down to 0 (which disables authentication and becomes encryption-only) Also known as Counter with CBC-MAC