Software implementation of the MIFARE DUOX commands. Here the MIFARE DUOX commands are framed and exchanged to PICC.
More...
|
| phStatus_t | phalMfDuoX_Sw_Init (phalMfDuoX_Sw_DataParams_t *pDataParams, uint16_t wSizeOfDataParams, void *pPalMifareDataParams, void *pKeyStoreDataParams, void *pCryptoDataParamsASym, void *pCryptoDataParamsEnc, void *pCryptoDataParamsMac, void *pCryptoRngDataParams, void *pTMIDataParams, void *pVCADataParams, uint8_t *pCmdBuf, uint16_t wCmdBufSize, uint8_t *pPrsBuf, uint16_t wPrsBufSize) |
| | Initialization API for MIFARE DUOX software component. More...
|
| |
| phStatus_t | phalMfDuoX_Sw_DeInit (phalMfDuoX_Sw_DataParams_t *pDataParams) |
| | Initialization API for MIFARE DUOX software component. More...
|
| |
Software implementation of the MIFARE DUOX commands. Here the MIFARE DUOX commands are framed and exchanged to PICC.
◆ phalMfDuoX_Sw_Init()
| phStatus_t phalMfDuoX_Sw_Init |
( |
phalMfDuoX_Sw_DataParams_t * |
pDataParams, |
|
|
uint16_t |
wSizeOfDataParams, |
|
|
void * |
pPalMifareDataParams, |
|
|
void * |
pKeyStoreDataParams, |
|
|
void * |
pCryptoDataParamsASym, |
|
|
void * |
pCryptoDataParamsEnc, |
|
|
void * |
pCryptoDataParamsMac, |
|
|
void * |
pCryptoRngDataParams, |
|
|
void * |
pTMIDataParams, |
|
|
void * |
pVCADataParams, |
|
|
uint8_t * |
pCmdBuf, |
|
|
uint16_t |
wCmdBufSize, |
|
|
uint8_t * |
pPrsBuf, |
|
|
uint16_t |
wPrsBufSize |
|
) |
| |
Initialization API for MIFARE DUOX software component.
- Returns
- Status code
- Return values
-
- Parameters
-
| [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] | pCryptoDataParamsASym | [In] Pointer to the parameter structure of the ASymmetric Crypto component. |
| [in] | pCryptoDataParamsEnc | [In] Pointer to Symmetric Crypto component context for encryption. |
| [in] | pCryptoDataParamsMac | [In] Pointer to Symmetric Crypto component context for MACing. |
| [in] | pCryptoRngDataParams | [In] Pointer to a CryptoRng component context. |
| [in] | pTMIDataParams | [In] Pointer to a TMI component. |
| [in] | pVCADataParams | [In] Pointer to a VCA component. |
| [in] | pCmdBuf | [In] Pointer to global buffer for processing the command. |
| [in] | wCmdBufSize | [In] Size of global command buffer. Should be >= Minimum Command Buffer Size |
| [in] | pPrsBuf | [In] Pointer to global buffer for processing the response / secure messaging information. |
| [in] | wPrsBufSize | [In] Size of global response / secure messaging buffer. Should be >= Minimum Processing Buffer Size |
◆ phalMfDuoX_Sw_DeInit()
Initialization API for MIFARE DUOX software component.
- Returns
- Status code
- Return values
-
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |