NXP Reader Library  v17.1.0.2535
Component : Software
Collaboration diagram for Component : Software:

Data Structures

struct  phalMfp_Sw_DataParams_t
 MIFARE Plus Software parameter structure. More...
 

Macros

#define PHAL_MFP_SW_ID   0x01
 ID for Software MIFARE Plus layer.
 

Functions

phStatus_t phalMfp_Sw_Init (phalMfp_Sw_DataParams_t *pDataParams, uint16_t wSizeOfDataParams, void *pPalMifareDataParams, void *pKeyStoreDataParams, void *pCryptoDataParamsEnc, void *pCryptoDataParamsMac, void *pCryptoRngDataParams, void *pCryptoDiversifyDataParams)
 Initialise this layer. More...
 

Detailed Description

Function Documentation

◆ phalMfp_Sw_Init()

phStatus_t phalMfp_Sw_Init ( phalMfp_Sw_DataParams_t pDataParams,
uint16_t  wSizeOfDataParams,
void *  pPalMifareDataParams,
void *  pKeyStoreDataParams,
void *  pCryptoDataParamsEnc,
void *  pCryptoDataParamsMac,
void *  pCryptoRngDataParams,
void *  pCryptoDiversifyDataParams 
)

Initialise this layer.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
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 a KeyStore component context.
[in]pCryptoDataParamsEnc[In] Pointer to a Crypto component context for encryption.
[in]pCryptoDataParamsMac[In] Pointer to a Crypto component context for Macing.
[in]pCryptoRngDataParams[In] Pointer to a CryptoRng component context.
[in]pCryptoDiversifyDataParams[In] Pointer to the parameter structure of the CryptoDiversify layer (can be NULL).