NXP Reader Library  v17.1.0.2535
phalMfprimeNtag_Sw_DataParams_t Struct Reference

MIFARE PRIME NTAG 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_MFPRIMENTAG_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_MFPRIMENTAG_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 bSdmOptionVal
 Parameter to set SDM .
 

Detailed Description

MIFARE PRIME NTAG Software parameter structure

Field Documentation

◆ bWrappedMode

uint8_t phalMfprimeNtag_Sw_DataParams_t::bWrappedMode

Wrapped APDU mode.

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

◆ dwPayLoadLen

uint32_t phalMfprimeNtag_Sw_DataParams_t::dwPayLoadLen

Amount of data to be read.

Required for Enc read to verify CRC.


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