NXP Reader Library  v17.1.0.2535

SAM commands used for MIFARE Plus PICC communication in X and S Mode. More...

Collaboration diagram for MIFARE Plus:

Modules

 S Mode
 SAM commands used for MIFARE Plus PICC communication in S-Mode.
 
 X Mode
 SAM commands used for MIFARE Plus PICC communication in X-Mode.
 

MIFARE Plus options to update the P1 information byte of Authenticate command. These flags are common for both X

and S mode MIFARE Plus Authenticate command.

#define PHHAL_HW_SAMAV3_MFP_AUTHENTICATE_DIVERSIFICATION_OFF   0x00
 Option to disable the key diversification.
 
#define PHHAL_HW_SAMAV3_MFP_AUTHENTICATE_DIVERSIFICATION_ON   0x01
 Option to enable the key diversification.
 
#define PHHAL_HW_SAMAV3_MFP_AUTHENTICATE_FIRST   0x00
 Option to perform First authentication.
 
#define PHHAL_HW_SAMAV3_MFP_AUTHENTICATE_NON_FIRST   0x02
 Option to perform NonFirst (following) authentication.
 
#define PHHAL_HW_SAMAV3_MFP_AUTHENTICATE_SL1_NO_KDF   0x00
 Option to set the key derivation info for SL0 or SL1 layer.
 
#define PHHAL_HW_SAMAV3_MFP_AUTHENTICATE_SL3_KDF   0x0C
 Option to set the key derivation info for SL3 layer.
 

MIFARE Plus options to update the P1 information byte of Sector Switch Authenticate command. These flags are common

for both X and S mode MIFARE Plus SectorSwitch Authenticate command.

#define PHHAL_HW_SAMAV3_MFP_SSAUTH_SECTOR_SWITCH_DIV_OFF   0x00
 Option to disable the Sector Switch key diversification.
 
#define PHHAL_HW_SAMAV3_MFP_SSAUTH_SECTOR_SWITCH_DIV_ON   0x01
 Option to enable the Sector Switch key diversification.
 
#define PHHAL_HW_SAMAV3_MFP_SSAUTH_SECTOR_DIV_OFF   0x00
 Option to disable the Sector key diversification.
 
#define PHHAL_HW_SAMAV3_MFP_SSAUTH_SECTOR_DIV_ON   0x02
 Option to enable the Sector key diversification.
 
#define PHHAL_HW_SAMAV3_MFP_SSAUTH_MASTER_SECTOR_DIV_OFF   0x00
 Option to disable the Master Sector key diversification.
 
#define PHHAL_HW_SAMAV3_MFP_SSAUTH_MASTER_SECTOR_DIV_ON   0x04
 Option to enable the Master Sector key diversification with given sector number.
 
#define PHHAL_HW_SAMAV3_MFP_SSAUTH_BUFFER_KEY_BLOCKS   0x10
 Option to buffer the KeyBlocks information.
 
#define PHHAL_HW_SAMAV3_MFP_SSAUTH_BUFFER_DIV_INPUT   0x20
 Option to buffer the Diversification input information.
 

MIFARE Plus options to update the P1 information byte of PDC Authenticate command. These flags are common

for both X and S mode MIFARE Plus PDCAuthenticate command.

#define PHHAL_HW_SAMAV3_PDC_AUTH_DERIVATION_OFF   0x00
 Option to disable the key diversification.
 
#define PHHAL_HW_SAMAV3_PDC_AUTH_DERIVATION_RFU   0x01
 Option to indicate the Key diversification selection as RFU.
 
#define PHHAL_HW_SAMAV3_PDC_AUTH_DERIVE_UPGRADE_KEY   0x02
 Option to indicate the UpgradeKey derivation form ICUpgradeKey given UpgradeInfo.
 
#define PHHAL_HW_SAMAV3_PDC_AUTH_DIVERSIFY_YEAR_UPGRADE_KEY   0x03
 Option to indicate the diversification of YearUpgradeKey with the given DivInput and then derive the actual UpgradeKey with UpgradeInfo.
 

MIFARE Plus options to update the P1 information byte of ChangeKey command. These flags are common for both X

mode MIFARE Plus ChangeKey command.

#define PHHAL_HW_SAMAV3_MFP_CHANGE_KEY_DIVERSIFICATION_OFF   0x00
 Option to disable the key diversification.
 
#define PHHAL_HW_SAMAV3_MFP_CHANGE_KEY_DIVERSIFICATION_ON   0x02
 Option to enable the key diversification.
 

Detailed Description

SAM commands used for MIFARE Plus PICC communication in X and S Mode.