NXP Reader Library  v17.1.0.2535
Component : DUT

DUT implementation of the KeyStore interface. More...

Collaboration diagram for Component : DUT:

Modules

 Component : KeyProvisioning
 DUT implementation of the KeyStore interface.
 

Data Structures

struct  phKeyStore_DUT_DataParams_t
 Data structure for Symmetric and ASymmetric KeyStore DUT layer implementation. More...
 

Functions

phStatus_t phKeyStore_DUT_Init (phKeyStore_DUT_DataParams_t *pDataParams, uint16_t wSizeOfDataParams, void *pHalDataParams, uint16_t wNoOfKeyEntries)
 Initialize the KeyStore component. More...
 
phStatus_t phKeyStore_DUT_DeInit (phKeyStore_DUT_DataParams_t *pDataParams)
 De-Initialize the DUT component. More...
 

Detailed Description

DUT implementation of the KeyStore interface.

Function Documentation

◆ phKeyStore_DUT_Init()

phStatus_t phKeyStore_DUT_Init ( phKeyStore_DUT_DataParams_t pDataParams,
uint16_t  wSizeOfDataParams,
void *  pHalDataParams,
uint16_t  wNoOfKeyEntries 
)

Initialize the KeyStore component.

Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
PH_ERR_INVALID_DATA_PARAMS
  • If the input size do not match the DataParams size of this component.
  • If the DataParams are null.
Parameters
[in]pDataParams[In] Pointer to this layers parameter structure.
[in]wSizeOfDataParams[In] Specifies the size of the data parameter structure.
[in]pHalDataParams[In] Pointer to HAL Parameter structure.
[in]wNoOfKeyEntries[In] Number of key entries for storing the keys.

◆ phKeyStore_DUT_DeInit()

phStatus_t phKeyStore_DUT_DeInit ( phKeyStore_DUT_DataParams_t pDataParams)

De-Initialize the DUT component.

Note
Its must to call this interface to Un-initialize any used global context from other libraries. If not called, there might be unusual behavior for the next executions.
Returns
Status code
Return values
PH_ERR_SUCCESSOperation successful.
OtherDepending on implementation and underlying component.
Parameters
[in]pDataParams[In] Pointer to this layer's parameter structure.