Data structure for NTAG X DNA 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 * | pCryptoDataParamsASym |
| Pointer to the parameter structure of the ASymmetric Crypto component. | |
| void * | pCryptoDataParamsEnc |
| Pointer to the parameter structure of the Symmetric Crypto layer for encryption. | |
| void * | pCryptoDataParamsMac |
| Pointer to the parameter structure of the Symmetric Crypto layer for MACing. | |
| void * | pCryptoRngDataParams |
| Pointer to the parameter structure of the Crypto layer for Random number generation. | |
| uint8_t * | pCmdBuf |
| Pointer to global buffer for processing the command. | |
| uint16_t | wCmdBufSize |
| Size of global command buffer. | |
| uint16_t | wCmdBufLen |
| Length of bytes available in command buffer (pCmdBuf) for processing. | |
| uint16_t | wCmdBufOffset |
| Command Buffer offset while performing crypto or exchange operations. | |
| uint8_t * | pPrsBuf |
| Pointer to global buffer for processing the response / secure messaging information. | |
| uint16_t | wPrsBufSize |
| Size of global response / secure messaging information buffer. | |
| uint16_t | wPrsBufLen |
| Length of bytes available in response / secure messaging information buffer (pPrsBuf) for processing. | |
| uint16_t | wPrsBufOffset |
| Processing Buffer offset while performing crypto or exchange operations. | |
| uint8_t | aAid [3] |
| Aid of the currently selected application. | |
| uint8_t | aSesAuthENCKey [PH_CRYPTOSYM_AES256_KEY_SIZE] |
| Authentication Encryption key for the session. | |
| uint8_t | aSesAuthMACKey [PH_CRYPTOSYM_AES256_KEY_SIZE] |
| Authentication MAC key for the session. | |
| uint8_t | aSesNonce [PHAL_NTAGXDNA_SIZE_NONCE] |
| Authentication Nonce for the session. | |
| uint8_t | aTi [PHAL_NTAGXDNA_SIZE_TI] |
| Transaction Identifier of the current transaction. | |
| uint16_t | wCmdCtr |
| Command count within transaction. | |
| uint16_t | wAdditionalInfo |
| Specific error codes for NTAG X DNA generic errors or To get the response length of some commands. | |
| uint8_t | bAuthState |
| Authenticate Command used. More... | |
| uint8_t | bKeyNo |
| Key number against which this authentication is done. | |
| uint16_t | wKeyType |
| Key Type being used for Authentication. | |
| uint8_t | bPICCDataComplete |
| Flag to Indicate tag data Status. More... | |
| uint8_t | bHasMACProcessed |
| Flag to indicate if MAC verification is complete for response or MAC computation is complete for Command. More... | |
| uint8_t | bIsENCPending |
| Flag to indicate if Encryption of Data is complete or still pending. | |
| uint8_t | bShortLenApdu |
| Parameter for force set Short Length APDU in case of BIG ISO read. | |
Data structure for NTAG X DNA Software layer implementation
| uint8_t phalNtagXDna_Sw_DataParams_t::bAuthState |
Authenticate Command used.
One of the below values will be updated
| uint8_t phalNtagXDna_Sw_DataParams_t::bPICCDataComplete |
Flag to Indicate tag data Status.
Indicates the following.
| uint8_t phalNtagXDna_Sw_DataParams_t::bHasMACProcessed |
Flag to indicate if MAC verification is complete for response or MAC computation is complete for Command.
This flag will also be used to indicate the status of initial MAC processing.