NXP Reader Library  v17.1.0.2535
phhalHw_SamAV3_DataParams_t Struct Reference

SamAV3 HAL parameter structure. More...

Data Fields

uint16_t wId
 Layer ID for this component, NEVER MODIFY!
 
void * pBalDataParams
 Pointer to the lower layers parameter structure.
 
void * pReaderHalDataParams
 Pointer to the hal data params of a reader. More...
 
void * pKeyStoreDataParams
 Pointer to the KeyStore used for Host Authentication.
 
void * pENCCryptoDataParams
 Pointer to the ENC crypto layers parameter structure.
 
void * pMACCryptoDataParams
 Pointer to the MAC crypto layers parameter structure.
 
void * pCryptoRngDataParams
 Pointer to the parameter structure of the CryptoRng layer.
 
void * pPLUpload_ENCCryptoDataParams
 pointer to the ENC crypto layers parameter structure. More...
 
void * pPLUpload_MACCryptoDataParams
 pointer to the MAC crypto layers parameter structure. More...
 
uint32_t Cmd_Ctr
 Command counter for Secure Messaging.
 
uint8_t bHostMode
 Indicates PHHAL_HW_SAMAV3_HC_AV2_MODE or PHHAL_HW_SAMAV3_HC_AV3_MODE Host-Communication modes.
 
uint8_t bAuthType
 The current Authentication Type used for SM.
 
uint8_t bKeyNo
 Store the current authentication key.
 
uint8_t bPendingEncCmdData [16]
 Command Data pending for encryption.
 
uint8_t bPendingEncCmdDataLength
 Length of pending command data to encrypt.
 
uint8_t bPendingCmdIv [16]
 Initvector for pending CMD-Data encryption.
 
uint8_t bPendingMacCmdData [16]
 Command Data pending for MACing.
 
uint8_t bPendingMacCmdDataLength
 Length of pending command data to MAC.
 
uint8_t bPendingCmdMac [16]
 Initvector for pending CMD-Data MACing.
 
uint8_t bPendingMacRespData [16]
 Response Data pending for MACing.
 
uint8_t bPendingMacRespDataLength
 Length of pending receive data to MAC.
 
uint8_t bPendingRespMac [16]
 Intermediate response MAC.
 
uint8_t bPendingRespIv [16]
 Initvector for pending receive-Data decryption.
 
uint8_t bPendingRespData [16]
 Pending (unreturned) response data.
 
uint8_t bPendingRespDataLength
 Length of pending response data.
 
uint8_t bCmdSM
 Type of secure messaging for current command.
 
uint8_t bRespSM
 Type of secure messaging for current response.
 
uint8_t bCommandChaining
 Whether command chaining is active or not.
 
uint8_t bResponseChaining
 Whether response chaining is active or not.
 
uint8_t bUid [0x07U]
 SAM UID.
 
uint8_t bMasterKeyCmacMode
 Whether CMAC mode is enabled in the master key.
 
uint8_t bOpMode
 Operation mode. More...
 
uint8_t bLogicalChannel
 Logical channel number to select for Authenthication.
 
uint8_tpTxBuffer
 Pointer to global transmit buffer used by the Exchange() function.
 
uint16_t wTxBufSize
 Size of the global transmit buffer.
 
uint16_t wTxBufLen
 Number of valid bytes for exchange within the transmit buffer.
 
uint16_t wTxBufLen_Cmd
 Number of valid bytes for other commands within the transmit buffer.
 
uint8_tpRxBuffer
 Pointer to global receive buffer used by the Exchange() function.
 
uint16_t wRxBufSize
 Size of the global receive buffer.
 
uint16_t wRxBufLen
 Number of valid bytes within the receive buffer.
 
uint16_t wRxBufStartPos
 Starting position within the global receive buffer.
 
uint16_t wTxBufStartPos
 Starting position within the global transmit buffer (used if TxBuffer equals RxBuffer).
 
uint16_t wCfgShadow [0x000FU]
 Configuration shadow; Stores configuration for current cardtype.
 
uint8_t bCardType
 Type of card for which the hal is configured for.
 
uint8_t bTimeoutUnit
 Unit of current timeout value (either PHHAL_HW_TIME_MICROSECONDS or PHHAL_HW_TIME_MILLISECONDS).
 
uint16_t wFieldOffTime
 Field-Off-Time in milliseconds.
 
uint16_t wFieldRecoveryTime
 Field-Recovery-Time in milliseconds.
 
uint16_t wAdditionalInfo
 Storage for additional error information.
 
uint16_t wTimingMode
 Disables/Enables time measurement.
 
uint32_t dwTimingUs
 Current timing value.
 
uint8_t bMifareCryptoDisabled
 Contains information about MIFARE Crypto enabled state.
 
uint8_t bRfResetAfterTo
 Storage for PHHAL_HW_CONFIG_RFRESET_ON_TIMEOUT setting.
 
uint8_t bDisableNonXCfgMapping
 Storage for PHHAL_HW_SAMAV3_CONFIG_DISABLE_NONX_CFG_MAPPING setting.
 
uint16_t dwFdtPc
 Current timing value backup for PC.
 
uint8_tpPLUploadBuf
 Buffer to store the complete segment information of PLUpload command. More...
 
uint16_t wPLUploadBufLen
 The size of bytes available in PLUploadBuff buffer.
 
uint8_t aPLUploadSessMAC0 [32]
 Programmable Logic Initial session key for macing the data.
 
uint8_t bPLUploadKeyType
 The current key type used for crypto operations.
 

Detailed Description

SamAV3 HAL parameter structure.

Field Documentation

◆ pReaderHalDataParams

void* phhalHw_SamAV3_DataParams_t::pReaderHalDataParams

Pointer to the hal data params of a reader.

NULL in case of X-Mode.

◆ pPLUpload_ENCCryptoDataParams

void* phhalHw_SamAV3_DataParams_t::pPLUpload_ENCCryptoDataParams

pointer to the ENC crypto layers parameter structure.

This will be used for ProgrammableLogic feature only.

◆ pPLUpload_MACCryptoDataParams

void* phhalHw_SamAV3_DataParams_t::pPLUpload_MACCryptoDataParams

pointer to the MAC crypto layers parameter structure.

This will be used for ProgrammableLogic feature only.

◆ bOpMode

uint8_t phhalHw_SamAV3_DataParams_t::bOpMode

◆ pPLUploadBuf

uint8_t* phhalHw_SamAV3_DataParams_t::pPLUploadBuf

Buffer to store the complete segment information of PLUpload command.

The buffer should have a memory size equivalent to the complete PLUpload Segment(s) size.


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