Data structure for MIFARE DESFire EVx Software layer implementation
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 * | pCryptoDataParamsMac |
| Pointer to the parameter structure of the CryptoMAC. | |
| void * | pCryptoRngDataParams |
| Pointer to the parameter structure of the CryptoRng layer. | |
| void * | pHalDataParams |
| Pointer to the HAL parameters structure. | |
| uint8_t | bSesAuthENCKey [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 | bCmdCode |
| Command code. More... | |
| 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 or To get the response length of some commands. | |
| uint32_t | dwPayLoadLen |
| Amount of data to be read. More... | |
| uint16_t | wCmdCtr |
| Command count within transaction. | |
| uint8_t | bTi [PHAL_MFDFEVX_SIZE_TI] |
| Transaction Identifier. | |
| uint8_t | bSesAuthMACKey [16] |
| Authentication MAC key for the session. | |
| uint8_t | pUnprocByteBuff [PHAL_MFDFEVX_SIZE_MAC] |
| Buffer containing unprocessed bytes for read mac answer stream. | |
| uint8_t | bNoUnprocBytes |
| Amount of data in the pUnprocByteBuff. | |
| uint8_t | bLastBlockBuffer [16] |
| Buffer to store last Block of encrypted data in case of chaining. | |
| uint8_t | bLastBlockIndex |
| Last Block Buffer Index. | |
| void * | pTMIDataParams |
| Pointer to the parameter structure for collecting TMI. | |
| uint8_t | bShortLenApdu |
| Parameter for force set Short Length APDU in case of BIG ISO read. | |
| void * | pVCADataParams |
| Pointer to the parameter structure for Virtual Card. | |
| uint8_t | bUid [15] |
| Complete UID of the PICC. More... | |
| uint8_t | bUidLength |
| Length of bytes available in bUid buffer. | |
| uint8_t | bSDMStatus |
| Get / Set the SDM availability in the file. | |
| uint8_t | bReturn_FabID |
| Get / Set the return of Fabrication Identifier. More... | |
Data structure for MIFARE DESFire EVx Software layer implementation
| uint8_t phalMfdfEVx_Sw_DataParams_t::bCmdCode |
Command code.
This will be used for differentiating the common error codes between different commands.
| uint8_t phalMfdfEVx_Sw_DataParams_t::bWrappedMode |
Wrapped APDU mode.
All native commands need to be sent wrapped in ISO 7816 APDUs.
| uint32_t phalMfdfEVx_Sw_DataParams_t::dwPayLoadLen |
Amount of data to be read.
Required for Enc read to verify CRC.
| uint8_t phalMfdfEVx_Sw_DataParams_t::bUid[15] |
Complete UID of the PICC.
phalMfdfEVx_GetCardUID interface is called.
| uint8_t phalMfdfEVx_Sw_DataParams_t::bReturn_FabID |
Get / Set the return of Fabrication Identifier.
When Set will be utilized during GetVersion command exchange.