NXP Reader Library  v17.1.0.2535
Config Types

CryptoSym Layer Configuration types. More...

Collaboration diagram for Config Types:

Macros

#define PH_CRYPTOSYM_CONFIG_KEY_TYPE   0x0000U
 Key Type. More...
 
#define PH_CRYPTOSYM_CONFIG_KEY_SIZE   0x0001U
 Key Size of currently loaded key. More...
 
#define PH_CRYPTOSYM_CONFIG_BLOCK_SIZE   0x0002U
 Block Size of currently loaded key. More...
 
#define PH_CRYPTOSYM_CONFIG_KEEP_IV   0x0003U
 Keep init vector. More...
 
#define PH_CRYPTOSYM_CONFIG_LRP   0x0004U
 Set the LRP mode on.
 
#define PH_CRYPTOSYM_CONFIG_LRP_NUMKEYS_UPDATE   0x0005U
 Number of times the loop to generate the UpdatedKey to be generated.
 
#define PH_CRYPTOSYM_CONFIG_ADDITIONAL_INFO   0x0006U
 Additional information to be provided like diversified key length.
 
#define PH_CRYPTOSYM_CONFIG_CCM_TAG_LENGTH   0x0007U
 Authentication Tag. More...
 

Detailed Description

CryptoSym Layer Configuration types.

Macro Definition Documentation

◆ PH_CRYPTOSYM_CONFIG_KEY_TYPE

#define PH_CRYPTOSYM_CONFIG_KEY_TYPE   0x0000U

◆ PH_CRYPTOSYM_CONFIG_KEY_SIZE

#define PH_CRYPTOSYM_CONFIG_KEY_SIZE   0x0001U

Key Size of currently loaded key.

Read-only.

◆ PH_CRYPTOSYM_CONFIG_BLOCK_SIZE

#define PH_CRYPTOSYM_CONFIG_BLOCK_SIZE   0x0002U

Block Size of currently loaded key.

Read-only.

◆ PH_CRYPTOSYM_CONFIG_KEEP_IV

#define PH_CRYPTOSYM_CONFIG_KEEP_IV   0x0003U

Keep init vector.

  • Either OFF or ON.
  • This flag has to be used in combination with the option flag in the Encrypt / Decrypt / Calculate MAC interfaces.
  • If either the option in the function or this flag is set, the IV will be updated before returning of the function. R/W access possible.

◆ PH_CRYPTOSYM_CONFIG_CCM_TAG_LENGTH

#define PH_CRYPTOSYM_CONFIG_CCM_TAG_LENGTH   0x0007U

Authentication Tag.

To be used when CCM or CCM* cipher modes are used. Supported values are,

  • 4, 6, 8, 10, 12, 14 or 16 in case of CCM
  • 0, 4, 6, 8, 10, 12, 14 or 16 in case of CCM*