NXP Reader Library  v17.1.0.2535
Component : DUT

DUT implementation of the Random Number interface. More...

Collaboration diagram for Component : DUT:

Data Structures

struct  phCryptoRng_DUT_DataParams_t
 Data structure for Random Number's DUT layer implementation. More...
 

Functions

phStatus_t phCryptoRng_DUT_Init (phCryptoRng_DUT_DataParams_t *pDataParams, uint16_t wSizeOfDataParams, void *pHalDataParams)
 Initialize the CryptoRng component. More...
 
phStatus_t phCryptoRng_DUT_DeInit (phCryptoRng_DUT_DataParams_t *pDataParams)
 De-Initialize the CryptoRng with mBedTLS as sub-component. More...
 

Detailed Description

DUT implementation of the Random Number interface.

Function Documentation

◆ phCryptoRng_DUT_Init()

phStatus_t phCryptoRng_DUT_Init ( phCryptoRng_DUT_DataParams_t pDataParams,
uint16_t  wSizeOfDataParams,
void *  pHalDataParams 
)

Initialize the CryptoRng 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.

◆ phCryptoRng_DUT_DeInit()

phStatus_t phCryptoRng_DUT_DeInit ( phCryptoRng_DUT_DataParams_t pDataParams)

De-Initialize the CryptoRng with mBedTLS as sub-component.

Note
Its must to call this interface to De-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.