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

Data Structures

struct  phalMfNtag42XDna_Sw_DataParams_t
 MIFARE NTAG 42xDNA Software parameter structure
More...
 

Macros

#define PHAL_MFNTAG42XDNA_SW_ID   0x01U
 ID for Software MIFARE NTAG 42XDNA layer.
 

Functions

phStatus_t phalMfNtag42XDna_Sw_Init (phalMfNtag42XDna_Sw_DataParams_t *pDataParams, uint16_t wSizeOfDataParams, void *pPalMifareDataParams, void *pKeyStoreDataParams, void *pCryptoDataParamsEnc, void *pCryptoDataParamsMac, void *pCryptoRngDataParams, void *pHalDataParams)
 Initialise this layer. More...
 

Sizes

#define PHAL_MFNTAG42XDNA_SIZE_TI   4U
 Size of Transaction Identifier.
 
#define PHAL_MFNTAG42XDNA_SIZE_MAC   16U
 Size of (untruncated) MAC.
 
#define PHAL_MFNTAG42XDNA_BLOCK_SIZE   16U
 Block Size.
 
#define PHAL_MFNTAG42XDNA_MAX_WRITE_SIZE   0xFFFDU
 Max size in a Write function.
 

Detailed Description

Function Documentation

◆ phalMfNtag42XDna_Sw_Init()

phStatus_t phalMfNtag42XDna_Sw_Init ( phalMfNtag42XDna_Sw_DataParams_t pDataParams,
uint16_t  wSizeOfDataParams,
void *  pPalMifareDataParams,
void *  pKeyStoreDataParams,
void *  pCryptoDataParamsEnc,
void *  pCryptoDataParamsMac,
void *  pCryptoRngDataParams,
void *  pHalDataParams 
)

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 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]pHalDataParams[In] Pointer to the HAL parameters structure.