MIFARE Identity 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 * | 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 | pAid [3] |
| Aid of the currently selected application. | |
| uint8_t | bCryptoMethod |
| DES,3DES, 3K3DES or AES, LRP | |
| 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. | |
| uint32_t | dwPayLoadLen |
| Amount of data to be read. More... | |
| uint16_t | wCmdCtr |
| Command count within transaction. | |
| uint8_t | bTi [PHAL_MFIDENTITY_SIZE_TI] |
| Transaction Identifier. | |
| uint8_t | bSesAuthMACKey [16] |
| Authentication MAC key for the session. | |
| uint8_t | bKeySessionAuthMaster [16] |
| Session Auth master key. | |
| uint8_t | pUnprocByteBuff [PHAL_MFIDENTITY_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. | |
| uint8_t | bUid [7] |
| Store the UID of the card. More... | |
| uint8_t | bUidLength |
| Length of bytes available in UID buffer. | |
| uint8_t | bFileOption |
| The bit settings of the FileOption parameter. | |
| uint8_t | bSDMOption |
| Bit setting of SDM option. | |
| uint8_t | bSDMKeyNo |
| Reference key number used for SDM operation. | |
| uint8_t | bSDMKeyVer |
| Reference Key version used for SDM operation. | |
| uint8_t | aSDMENCOffset [3] |
| Buffer to represent the SDM ENC Offset. | |
| uint8_t | aSDMENCLength [3] |
| Buffer to represent the SDM ENC Length. | |
| uint8_t | aSDMReadCTR [3] |
| Buffer to represent the SDM Read Counter value. | |
| uint8_t | bKeyType |
| Distinguish between the LRP_AES or AES key. | |
MIFARE Identity Software parameter structure
| uint8_t phalMfIdentity_Sw_DataParams_t::bWrappedMode |
Wrapped APDU mode.
All native commands need to be sent wrapped in ISO 7816 APDUs.
| uint32_t phalMfIdentity_Sw_DataParams_t::dwPayLoadLen |
Amount of data to be read.
Required for Enc read to verify CRC.
| uint8_t phalMfIdentity_Sw_DataParams_t::bUid[7] |
Store the UID of the card.
This get updated if GetCardUID commmand is called.