NXP Reader Library  v17.1.0.2535
Component : mBedTLS

mBedTLS implementation of the Random Number interface More...

Collaboration diagram for Component : mBedTLS:

Data Structures

struct  phCryptoRng_mBedTLS_DataParams_t
 Data structure for Random Number's mBedTLS layer implementation. More...
 

Functions

phStatus_t phCryptoRng_mBedTLS_Init (phCryptoRng_mBedTLS_DataParams_t *pDataParams, uint16_t wSizeOfDataParams)
 Initialize the CryptoRng component. More...
 
phStatus_t phCryptoRng_mBedTLS_DeInit (phCryptoRng_mBedTLS_DataParams_t *pDataParams)
 De-Initialize the CryptoRng with mBedTLS as sub-component. More...
 

Detailed Description

mBedTLS implementation of the Random Number interface

Function Documentation

◆ phCryptoRng_mBedTLS_Init()

phStatus_t phCryptoRng_mBedTLS_Init ( phCryptoRng_mBedTLS_DataParams_t pDataParams,
uint16_t  wSizeOfDataParams 
)

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.

◆ phCryptoRng_mBedTLS_DeInit()

phStatus_t phCryptoRng_mBedTLS_DeInit ( phCryptoRng_mBedTLS_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.