SamAV2 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. | |
| uint32_t | Cmd_Ctr |
| Command counter for Secure Messaging. | |
| uint8_t | bHostMode |
| Indicates, if we have AV1 or AV2 mode. | |
| uint8_t | bAuthType |
| The current Authentication Type used for SM. | |
| 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 [PHHAL_HW_SAMAV2_HC_SAM_UID_SIZE] |
| SAM UID. | |
| uint8_t | bMasterKeyCmacMode |
| Whether CMAC mode is enabled in the master key. | |
| uint8_t | bChangeEntryPlain |
| Whether the next ChangeKeyEntry / ChangeKUCEntry is plain. | |
| uint8_t | bOpMode |
| Operation mode; e.g. More... | |
| uint8_t | bLogicalChannel |
| Logical channel number to select for Authenthication. | |
| uint8_t * | pTxBuffer |
| 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_t * | pRxBuffer |
| 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 [PHHAL_HW_SAMAV2_SHADOW_COUNT] |
| 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 | b2K3DESEncOption |
| Option for single DES and 2 Key Triple DES encryption keys. More... | |
| uint8_t | bRfResetAfterTo |
| Storage for PHHAL_HW_CONFIG_RFRESET_ON_TIMEOUT setting. | |
| uint8_t | bDisableNonXCfgMapping |
| Storage for PHHAL_HW_SAMAV2_CONFIG_DISABLE_NONX_CFG_MAPPING setting. | |
| uint16_t | dwFdtPc |
| Current timing value backup for PC. | |
SamAV2 HAL parameter structure.
| void* phhalHw_SamAV2_DataParams_t::pReaderHalDataParams |
Pointer to the hal data params of a reader.
NULL in case of X-Mode.
| uint8_t phhalHw_SamAV2_DataParams_t::bOpMode |
Operation mode; e.g.
| uint8_t phhalHw_SamAV2_DataParams_t::b2K3DESEncOption |
Option for single DES and 2 Key Triple DES encryption keys.
Can be set either to PHHAL_HW_SAMAV2_DES_OPTION_DESFIRE4, PHHAL_HW_SAMAV2_DES_OPTION_ISO_CRC16 or PHHAL_HW_SAMAV2_DES_OPTION_ISO_CRC32