DUT implementation of the CryptoSym interface.
More...
DUT implementation of the CryptoSym interface.
◆ phCryptoSym_DUT_Init()
Initialize the CryptoSym component.
- Returns
- Status code
- Return values
-
- 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] | pTxBuffer | [In] Pointer to internal transmit buffer. This buffer can be used to overwrite actual HAL buffers. |
| [in] | wTxBuffSize | [In] Length of bytes allocated for pTxBuffer buffer. |
| [in] | pRxBuffer | [In] Pointer to internal receive buffer. This buffer can be used to overwrite actual HAL buffers. |
| [in] | wRxBuffSize | [In] Length of bytes allocated for pRxBuffer buffer. |
◆ phCryptoSym_DUT_DeInit()
De-Initialize the CryptoRng with mBedTLS as sub-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_SUCCESS | Operation successful. |
| Other | Depending on implementation and underlying component. |
- Parameters
-
| [in] | pDataParams | [In] Pointer to this layer's parameter structure. |