NXP Reader Library  v17.1.0.2535
phalMfdf_Sw_DataParams_t Struct Reference

MIFARE DESfire Software parameter structure
More...

Data Fields

uint16_t wId
 Layer ID for this component, NEVER MODIFY!
 
void * pPalMifareDataParams
 Pointer to the parameter structure of the palMifare component.
 
void * pKeyStoreDataParams
 Pointer to the parameter structure of the KeyStore layer.
 
void * pCryptoDataParamsEnc
 Pointer to the parameter structure of the Crypto layer for encryption.
 
void * pCryptoRngDataParams
 Pointer to the parameter structure of the CryptoRng layer.
 
void * pHalDataParams
 Pointer to the HAL parameters structure.
 
uint8_t bSessionKey [24]
 Session key for this authentication.
 
uint8_t bKeyNo
 key number against which this authentication is done
 
uint8_t bIv [16]
 Max size of IV can be 16 bytes.
 
uint8_t bAuthMode
 Authenticate (0x0A), AuthISO (0x1A), AuthAES (0xAA)
 
uint8_t pAid [3]
 Aid of the currently selected application.
 
uint8_t bCryptoMethod
 DES,3DES, 3K3DES or AES.
 
uint8_t bWrappedMode
 Wrapped APDU mode. More...
 
uint16_t wCrc
 2 Byte CRC initial value in Authenticate mode.
 
uint32_t dwCrc
 4 Byte CRC initial value in 0x1A, 0xAA mode.
 
uint16_t wAdditionalInfo
 Specific error codes for Desfire generic errors.
 
uint16_t wPayLoadLen
 Amount of data to be read. More...
 
uint8_t bLastBlockBuffer [16]
 Buffer to store last Block of encrypted data in case of chaining.
 
uint8_t bLastBlockIndex
 Last Block Buffer Index.
 

Detailed Description

MIFARE DESfire Software parameter structure

Field Documentation

◆ bWrappedMode

uint8_t phalMfdf_Sw_DataParams_t::bWrappedMode

Wrapped APDU mode.

All native commands need to be sent wrapped in ISO 7816 APDUs.

◆ wPayLoadLen

uint16_t phalMfdf_Sw_DataParams_t::wPayLoadLen

Amount of data to be read.

Required for Enc read to verify CRC.


The documentation for this struct was generated from the following file: