
Data Structures | |
| struct | phalMfIdentity_Sw_DataParams_t |
| MIFARE Identity Software parameter structure More... | |
Macros | |
| #define | PHAL_MFIDENTITY_SW_ID 0x01U |
| ID for Software MFIDENTITY layer. | |
Functions | |
| phStatus_t | phalMfIdentity_Sw_Init (phalMfIdentity_Sw_DataParams_t *pDataParams, uint16_t wSizeOfDataParams, void *pPalMifareDataParams, void *pKeyStoreDataParams, void *pCryptoDataParamsEnc, void *pCryptoDataParamsMac, void *pCryptoRngDataParams, void *pTMIDataParams, void *pHalDataParams) |
| Initialise this layer. More... | |
Sizes | |
| #define | PHAL_MFIDENTITY_SIZE_TI 4U |
| Size of Transaction Identifier. | |
| #define | PHAL_MFIDENTITY_SIZE_MAC 16U |
| Size of (untruncated) MAC. | |
| #define | PHAL_MFIDENTITY_BLOCK_SIZE 16U |
| Block Size. | |
| #define | PHAL_MFIDENTITY_MAX_WRITE_SIZE 0xFFFDU |
| Max size in a Write function. | |
| phStatus_t phalMfIdentity_Sw_Init | ( | phalMfIdentity_Sw_DataParams_t * | pDataParams, |
| uint16_t | wSizeOfDataParams, | ||
| void * | pPalMifareDataParams, | ||
| void * | pKeyStoreDataParams, | ||
| void * | pCryptoDataParamsEnc, | ||
| void * | pCryptoDataParamsMac, | ||
| void * | pCryptoRngDataParams, | ||
| void * | pTMIDataParams, | ||
| void * | pHalDataParams | ||
| ) |
Initialise this layer.
| PH_ERR_SUCCESS | Operation successful. |
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |
| [in] | wSizeOfDataParams | [In] Specifies the size of the data parameter structure |
| [in] | pPalMifareDataParams | [In] Pointer to a palMifare component context. |
| [in] | pKeyStoreDataParams | [In] Pointer to Key Store data parameters. |
| [in] | pCryptoDataParamsEnc | [In] Pointer to a Crypto component context for encryption. |
| [in] | pCryptoDataParamsMac | [In] Pointer to a CryptoMAC component context. |
| [in] | pCryptoRngDataParams | [In] Pointer to a CryptoRng component context. |
| [in] | pTMIDataParams | [In] Pointer to a TMI component. |
| [in] | pHalDataParams | [In] Pointer to the HAL parameters structure. |